home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!scnteam1.austin.ibm.com!chuckt
- From: chuckt@scnteam1.austin.ibm.com (Charles N. Tomlinson)
- Newsgroups: comp.unix.shell
- Subject: Re: If shell command switches.
- Message-ID: <1992Aug18.184536.3136@awdprime.austin.ibm.com>
- Date: 18 Aug 92 18:45:36 GMT
- References: <Bss2xD.GKE@root.co.uk> <22412@sybase.sybase.com> <4755@daily-planet.concordia.ca>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: IBM, Austin
- Lines: 26
-
-
- >does anyone know where I can find the complete switch listing
- >of the "if" statement? I can't seem to find it anywhere..ie:
- >man csh/tcsh/ksh.., yet I know of the if [-f] and if [-r]
- >only because I saw it used in other scripts. There are other
- >switches..but apparently sparse documentation as to what they
- >are and do.
- >
- >---
- >Dan.
-
- If you look up the man pages on the command "test" or "[ ]", this should give
- you the list that you are looking for.
-
- Chuck T.
-
- ---
-
- ================================================================================
- Peasant 1 : " He must be a king. " | Charles N. Tomlinson (Chuck)
- Peasant 2 : " Why? " | Phone: @AIC: (512) 794-8016 ext.384
- Peasant 1 : " He hasn't got sh*t all | @IBM: (512) 823-8845
- over him." |
- |
- Monty Python's "The Holy Grail" | Inet : chuckt@scnteam1.austin.ibm.com
- ================================================================================
-