NYCPHP Meetup

NYPHP.org

[nycphp-talk] [OT] Calling All Shell Scripters!

Phillip Powell phillip.powell at adnet-sys.com
Fri Oct 8 11:14:52 EDT 2004


Tim Sailer wrote:

>On Fri, Oct 08, 2004 at 11:04:14AM -0400, Phillip Powell wrote:
>  
>
>>if [ $isOKDelete = "Y" -o $isOKDelete = "y" ]; then
>>    
>>
>
>'man test' doesn't show a -o option on any of my systems...
>
>Tim
>
>  
>
Hmm.. interesting, considering that was what I was taught to use as the 
"or" comparator in Shell Script (see 
http://www.freeos.com/guides/lsst/ch03sec02.html* )

*I know you also can use "||" (which I've always understand as "or") but 
only between blocked expressions and not within one.

Phil

-- 
---------------------------------------------------------------------------------
Phil Powell
Multimedia Programmer
BPX Technologies, Inc.
#: (703) 709-7218 x107 
Fax: (703) 709-7219

	




More information about the talk mailing list