Thread
:
capturing and dispatching on command line arguments in bash
View Single Post
Jul 22nd, 2005, 10:31 AM
#
4
skuinders
Hobbyist Programmer
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power:
4
same fix
(
Toggle Plain Text
)
if [ -z "$1" -o "$1" = "unix" ]; then echo ok; fi
if [ -z "$1" -o "$1" = "unix" ]; then echo ok; fi
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand."
- B. Russell
http://web.bryant.edu/~srk2
skuinders
View Public Profile
Visit skuinders's homepage!
Find More Posts by skuinders