home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3842 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.4 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!sicsun!masg6.epfl.ch!posse
  2. From: posse@masg6.epfl.ch (Christian Posse)
  3. Newsgroups: comp.unix.shell
  4. Subject: "if () then" file tests in sh/csh/tcsh
  5. Message-ID: <1992Sep8.095348@masg6.epfl.ch>
  6. Date: 8 Sep 92 07:53:48 GMT
  7. Sender: news@sicsun.epfl.ch
  8. Organization: Swiss Federal Institute of Technology
  9. Lines: 28
  10.  
  11. Hi shells gurus !
  12.  
  13. In the man of sh/csh/tcsh and the FAQ, I have not found a description of
  14. the file tests in "if" expressions :
  15.  
  16. What means "if ( -d file && -x file) then". 
  17. Which parameters are available and for what (-d, -x, -t, .. ?)
  18. Which complexity is possible : how many ()/&&/... I guess && means "or"
  19. but which symbol for "and" ....
  20.  
  21. Is there a documentation available ?
  22.  
  23. Many thanks in advance.
  24.  
  25. Christian.
  26.  
  27.  
  28. -------------------------------------------------------------------------------
  29.      ____/  __  /  ____/   /   Christian POSSE
  30.     /      /   /  /       /    Swiss Federal Institute of Technology
  31.    ____/  ____/   ____/  /     DMA-Ecublens                                   
  32.   /      /       /      /      CH-1015 Lausanne (Switzerland)
  33. _____/ _/      _/     _____/   
  34.                      e-mail : posse@masg6.epfl.ch  or
  35.                     posse@dma.epfl.ch
  36.  
  37.  ... Trying to establish voice contact ... please yell into keyboard ....
  38. -------------------------------------------------------------------------------
  39.