Either there's something fishy with my Solaris 10 csh implementation of if statement or I don't get something right (of course the second is very well probable in my case at least) but when I do:
% if 1 then <enter> %
=> nothing happends
And when I do:
% if 0 then ?
=> which is what I would expect also in the first case. Couse otherwise I have no way to finish constructing my statement without getting
if: improper then
And could I really kindly ask you not to start your appreciated answer with "Don't use csh"... You can end it with it, if you really feel like it. Couse in last several years up to now csh has served me quite well for my interactive purposes and for this little scripting that I do I use Bourne shell or bash.