Charlie Bennett <[EMAIL PROTECTED]> wrote: > Is this expected behavior? > > [EMAIL PROTECTED] .ssh]# [ -f ] > [EMAIL PROTECTED] .ssh]# echo $? > 0
Yes. A single argument is considered true if it is not the mepty string, even if it happens to coincide with the spelling of an operator. This is how all shells behave, and what POSIX/SUS says they should do. paul _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash