I'd like to add an if statement to our .cshrc or .login file, but I'm
having problems with the syntax. Could someone help?
If the "dot" entry does not exist in the $PATH variable, append it to
the $PATH variable. Sounds simple enough, huh? I've tried the
following and many permutations of it ... any help would be appreciated.
if ( ${PATH} !~ *\.* ) then
set PATH=($PATH .)
endif
--
Karen R. McArthur, Systems Administrator
Bates College, Information and Library Services
Lewiston, Maine 04240
(207) 786-8236 fax:(207) 786-6057
kmcarthu_at_bates.edu
Received on Fri Jan 30 2004 - 12:27:39 NZDT