View Single Post
Old May 4th, 2007, 11:24 AM   #2
jim mcnamara
Hobbyist Programmer
 
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4 jim mcnamara is on a distinguished road
#Bourne shell
VARIABLE="something"
export VARIABLE
#ksh, zsh, bash
export VARIABLE="something"
OR in a pathname? Do you mean this
if [[ -d /path/one || -d /path/two ]] ; then
  echo "At least one of these two is a valid path"
fi
jim mcnamara is offline   Reply With Quote