(t)csh and the "if" statement
I want to run the shell-script
#!/bin/csh
if ($?EDITOR) echo "Setting EDITOR"
the result is as follows:
then: then/endif not found.
what was not my intention.
Any help? (I have to use csh instead of bash since I have to install some
software package with twenty csh-Shell-scripts, which I do not want to
rewrite all ...)
Thanks.
Clemens Heuberger
----
Clemens Heuberger - Institut fuer Mathematik C, Technische Universitaet Graz
Steyrergasse 30/III, A-8010 Graz, Austria. Tel: +43 316 873-7133, Fax: -4507
cheub@weyl.math.tu-graz.ac.at http://finanz.math.tu-graz.ac.at/~cheub
Reply to: