.cshrc syntax help

From: Karen R McArthur (kmcarthu_at_bates.edu)
Date: 01/30/04

  • Next message: T. Horsnell (tsh): "'hwmgr delete -id' problem"
    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
    
    



  • Next message: T. Horsnell (tsh): "'hwmgr delete -id' problem"

    Relevant Pages

    • Re: backquote question
      ... Well, one actually needs to look at the syntax of quasiquotations 7.1.4, ... #3 above simplifies the quasiquote syntax specification. ... I do not think this will work because of the way dot works. ... Thus, lists written out in the common way, such as are just ...
      (comp.lang.scheme)
    • Re: warn about implicit SAVE?
      ... but the DATA statement did the same thing with a ... different syntax). ... Perhaps you could specify that his would also happen, ... qomputing dot demon dot co dot uk ...
      (comp.lang.fortran)
    • Re: A problem with Autocorrect in Word 2007
      ... Microsoft Word MVP ... If you delete the entry for ... ... that is already in Autocorrect ... then in your document type the dot space combination you ...
      (microsoft.public.word.docmanagement)
    • Re: Received letter from debt collection company related to fraudulent account
      ... Essentially - if you're expecting a bailiff to call keep your doors and windows closed and locked. ... They can make peaceful entry including climbing in through an open window. ... Crazy Dog wfh at crazy hyphen dog dot fsnet dot co dot uk. ...
      (uk.people.consumers.ebay)
    • Re: Origin and History of Dot Syntax
      ... >> Can anyone point me to the origin and history of the dot ... >> syntax for accessing structures? ... > from BCPL, which also used dot for structure access if I ... The vector-indexing operation is! ...
      (comp.lang.c)

    Loading