Thread
:
Making a variable sub-shell accessible?
View Single Post
Jun 27th, 2007, 7:39 PM
#
3
Fourth
Newbie
Join Date: May 2007
Posts: 3
Rep Power:
0
if you wanna specify OR in a conditional its -o i believe. i.e
(
Toggle Plain Text
)
if [ -d /path/one -o -d /path/two ] ; then echo "At least one of these two is a valid path" fi
if [ -d /path/one -o -d /path/two ] ; then echo "At least one of these two is a valid path" fi
assuming thats what you are asking.
Fourth
View Public Profile
Find More Posts by Fourth