On Mon, 2004-07-05 at 17:39, Chad Carr wrote:
> Shell gurus,

Chad,
I'm by no means a shell guru, but this Google string may help.

Google string: inverted if posix ash

> 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.

I hope this is helpful.

-- 
Mike Noyes <mhnoyes at users.sourceforge.net>
http://sourceforge.net/users/mhnoyes/
SF.net Projects: ffl, leaf, phpwebsite, phpwebsite-comm, sitedocs



-------------------------------------------------------
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