john@hopf.math.nwu.edu (John Franks) (07/03/89)
The following program core dumps. I think it should give the error message "test: argument expected." If $Y is quoted as it should be, then the program runs but the -n option has the opposite behavior from what is described in the help file. The -z option has the effect which the help file attributes to the -n option. The -n option seems to have no function (i.e. "test -n STRING" is the same as "test STRING" ). If this is true it could be removed. #bash version 1.01; run on Sun3, SunOS 4.03 Y= if test -n $Y ; then echo "Ok"; fi John Franks Dept of Math. Northwestern University Internet john@math.nwu.edu Bitnet j_franks@nuacc