sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

Devin Teske dteske at vicor.com
Mon Oct 11 00:47:38 UTC 2010


On Oct 10, 2010, at 4:51 PM, Garance A Drosihn <drosih at 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


More information about the freebsd-hackers mailing list