4 echo this is ${0##*/} >/dev/null;
5 echo a | cat - >/dev/null;
6 test -f ${0##*/} && echo ${0##*/} is a regular file;
7 test -d ${0##*/} || echo ${0##*/} is not a directory;
11 echo background >/dev/null & ( exit 1 );
17 while (( " i < 3 " )); do
21 [[ -r /dev/fd/0 && -w /dev/fd/1 ]] || echo oops >/dev/null;
22 for name in $( echo 1 2 3 );
24 test -r /dev/fd/$name;
26 if [[ -r /dev/fd/0 && -w /dev/fd/1 ]]; then
29 if (( " 7 > 40 " )); then
40 echo \$PWD not in \$PATH
49 echo \&\|'()' \{ echo abcde \; \};
50 eval fu\%nc'()' \{ echo abcde \; \};
57 time -p echo a | cat - >/dev/null
60 cprint.tests is a regular file
61 cprint.tests is not a directory