On Mon, 4 Apr 2005 00:11, LRK wrote: > On Sat, Apr 02, 2005 at 10:54:14PM -0800, Eric Blossom wrote: > > On Sat, Apr 02, 2005 at 07:11:52PM -0500, Ilia Mirkin wrote: > > > Is there a reason to use bash instead of sh, which is pretty standard > > > across all UNIX-like systems made in the past 15 years or so... > > > > Nope. Should work fine with /bin/sh. > > Dont know if this is FreeBSDism or generic but sh complains about the > "==" and bash doesn't.
== is a bashism. = is for string compares. Anyone want a copy of the test(1) man page? ;) > > --- buildit.orig Sun Apr 3 09:20:13 2005 > +++ buildit Sun Apr 3 09:37:47 2005 > @@ -1,7 +1,7 @@ > #!/bin/sh > # -*- shell-script -*- > > -if [ $# -gt 0 -a "$1" == -n ] > +if [ $# -gt 0 -a "$1" = -n ] > then > SUDO= > shift -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpaCpAXscw1m.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio