Shell gurus,

Is there a reliable cross-platform way to write an inverted if statement? Something like bash's:

        if ! /usr/bin/false # with some other command, obviously
        then
                # do something true
        else
                # do something false
        fi

Your assistance is greatly appreciated.

Chad



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com


_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to