Hi,
How would you convert the following two csh script blocks to bash
script?
if !($?BIOSYM) then
echo "** "
echo '** Variable $BIOSYM undefined'
echo '** You need to source the cshrc file that comes with the CNX'
echo '** installation. Refer to the CNX documentation.'
echo "** "
exit 1
endif
echo -n "Enter location of CNX directory [default: $cnx_dir ]-> "
set response=$<
if ( $response != "" ) then
set cnx_dir=`echo $response | sed -e 's/\/$//'`
endif
Thanks,
Hidong
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.