For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > csh

csh

Created by dave. Last edited by dave, 13 years and 172 days ago. Viewed 3,250 times. #1
[edit] [rdf]
labels
attachments

I hate csh

#!/bin/csh

echo Test that a variable called GAMMA exists or not.

if ( "$?GAMMA" ) then echo GAMMA is defined. else echo GAMMA is not defined. endif

(but that's just my problem)

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt