On Oct 10, 2010, at 4:51 PM, Garance A Drosihn <dro...@rpi.edu> wrote:

> The latter does not cause an error.  Try it:
> 
> # [ "-n" = x ] ; echo $?
> 1
> 
> # [ -e = "no" ] ; echo $?
> 1
> 
> # [ -e = -n ] ; echo $?
> 1

1 is error. 0 is success.
--
Devin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to