home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / shell / 5119 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!umn.edu!csus.edu!netcom.com!dman
  3. From: dman@netcom.com (Dallman Ross)
  4. Subject: Need quick-'n'-dirty syntax lesson in csh
  5. Message-ID: <1992Dec20.230614.26886@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. X-Newsreader: TIN [version 1.1 PL8]
  8. Date: Sun, 20 Dec 1992 23:06:14 GMT
  9. Lines: 15
  10.  
  11.  
  12. I'm writing a tiny csh script, and I need to know how the syntax is
  13. formed in an "if"-statement for:
  14.  
  15.     if <there is no argument3 ...>
  16.  
  17. I have the "then"- and "else"-parts down fine, just need the "if"
  18. syntax.  I grepped through man csh with no real luck.
  19.  
  20. --
  21.  __D_a l_l m a_n  _ R o_s s _ |dman@netcom.com  /or/  |"You sound like a man|
  22.  l  \\ l\\   /l  /\\  l\\   l |dross@well.sf.ca.us    |with a rubber nose." |
  23.  l   >)l \\ /ll /  \\ l \\  l |vox/fax: 1.510.645.1883| -- One-Lung Bill    |
  24.  l  // l  \X ll/--- \\l  \\ l |350 Perkins St., #108  |     Remmer (deceased)
  25. _l//______________________\\l_|Oakland,_CA__94610-3422|_____________________|_
  26.