Hello All.
I hope I am asking this question in the right section of the site.
I'm working on Solaris 10 and the shell is csh. My intent is to perform 2 tasks if a condition is not satisfied. I'm using the one liner syntax for if (one liner because I need to use this as an alias later). However, my observation is that this simply does not work:
All I see is:
Can anyone kindly help me identify my mistake and get it to echo those 2 messages?
Thanks in advance,
Parag Doke
I hope I am asking this question in the right section of the site.
I'm working on Solaris 10 and the shell is csh. My intent is to perform 2 tasks if a condition is not satisfied. I'm using the one liner syntax for if (one liner because I need to use this as an alias later). However, my observation is that this simply does not work:
Code:
if ( 0 != 1 ) (echo Message1; echo Message2;)
Code:
(: Command not found
Thanks in advance,
Parag Doke
Comment