Quantcast
Channel: How to use OR condition inside tcsh if statement - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



How 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
Browsing latest articles
Browse All 2 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>