.cshrc syntax help
From: Karen R McArthur (kmcarthu_at_bates.edu)
Date: 01/30/04
- Previous message: EXT-Douglas, Ian R: "DS10 error message"
- Next in thread: Karen R McArthur: "SUMMARY: .cshrc syntax help"
- Reply: Karen R McArthur: "SUMMARY: .cshrc syntax help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jan 2004 07:24:08 -0500 To: tru64-unix-managers@ornl.gov
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@bates.edu
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
- Previous message: EXT-Douglas, Ian R: "DS10 error message"
- Next in thread: Karen R McArthur: "SUMMARY: .cshrc syntax help"
- Reply: Karen R McArthur: "SUMMARY: .cshrc syntax help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading