On 5/8/13 5:33 PM, "Dash Four" <[email protected]> wrote:
> >Tom Eastep wrote: >> On 5/7/13 4:30 PM, "Dash Four" <[email protected]> wrote: >> >> >>> Tom Eastep wrote: >>> >>>> Patch attached. >>>> >>>> >>> Applied and tested with changes (see patch attached), >>> >> >> You are aware that '==' is only supported by bash and that much of the >> world outside of Redhat doesn't use bash as /bin/sh? I'm guessing not. >> >I am guessing you haven't got a clue, have you? I have the following clue: root@gateway:~# /bin/sh # [ a == a ] && echo Yes [: 1: a: unexpected operator # exit root@gateway:~# [ a == a ] && echo Yes Yes root@gateway:~# On this system (Debian), /bin/sh is the Dash shell. So '==' doesn't appear in any of my shell code that is destined to run on all distributions. -Tom You do not need a parachute to skydive. You only need a parachute to skydive twice. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
