Answer by Jean-Baptiste Yunès for How to use OR condition inside tcsh if...
There is some confusions:Your first script is written in bourne-shellYour script did not mention what is the shell should be used to interpret it (that may lead to some confusion depending on the way...
View ArticleHow to use OR condition inside tcsh if statement
I am trying to use an OR condition inside an IF statement in tcsh shell. Same statement works in CSH. Example statement: (cat tesh.sh)if [ "$1" == "hi" -o "$2" == "hello" ];thenecho hielseecho...
View Article
More Pages to Explore .....