home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!sicsun!masg6.epfl.ch!posse
- From: posse@masg6.epfl.ch (Christian Posse)
- Newsgroups: comp.unix.shell
- Subject: "if () then" file tests in sh/csh/tcsh
- Message-ID: <1992Sep8.095348@masg6.epfl.ch>
- Date: 8 Sep 92 07:53:48 GMT
- Sender: news@sicsun.epfl.ch
- Organization: Swiss Federal Institute of Technology
- Lines: 28
-
- Hi shells gurus !
-
- In the man of sh/csh/tcsh and the FAQ, I have not found a description of
- the file tests in "if" expressions :
-
- What means "if ( -d file && -x file) then".
- Which parameters are available and for what (-d, -x, -t, .. ?)
- Which complexity is possible : how many ()/&&/... I guess && means "or"
- but which symbol for "and" ....
-
- Is there a documentation available ?
-
- Many thanks in advance.
-
- Christian.
-
-
- -------------------------------------------------------------------------------
- ____/ __ / ____/ / Christian POSSE
- / / / / / Swiss Federal Institute of Technology
- ____/ ____/ ____/ / DMA-Ecublens
- / / / / CH-1015 Lausanne (Switzerland)
- _____/ _/ _/ _____/
- e-mail : posse@masg6.epfl.ch or
- posse@dma.epfl.ch
-
- ... Trying to establish voice contact ... please yell into keyboard ....
- -------------------------------------------------------------------------------
-