blob: cff41c00815b274a544c04a79f27bf7794113679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# Results that depend on the ASCII collating sequence or on ASCII code
# points. The runner skips *.ascii.sh for an EBCDIC build.
touch a.c B.c 1.c _x.c '[x]' 'sp ace' .hid
echo *
echo [x] [[]x]
printf '\101\102 %b\n' '\0103\104'
printf '%d %d\n' "'A" "'a"
case a in [A-z]) echo "a in A-z" ;; esac
case '^' in [A-z]) echo "caret is between Z and a" ;; esac
[ A \< a ] && echo "upper sorts first"
[ 1 \< A ] && echo "digits sort before letters"
|