Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!psuvax1!psuvm!dbngmd13!dmswwu1c!pph93 From: PPH93@DMSWWU1A.BITNET (Thomas Heller) Newsgroups: comp.unix.shell Subject: Question about 'test' (Was Re: testing if a file is present) Message-ID: <90326.175421PPH93@DMSWWU1A.BITNET> Date: 22 Nov 90 18:52:34 GMT References: <1990Nov21.191638.19469@athena.mit.edu> Distribution: comp.unix Lines: 14 Organisation: Westfaelische Wilhelms-Universitaet, Muenster, Germany In article <1990Nov21.191638.19469@athena.mit.edu>, jik@athena.mit.edu (Jonathan I. Kamens) says: > >In sh, with either a test built-in named "[" or a link in your filesystem ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >called "[" pointing to the test program: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ But what will the (bourne-) shell say about... > > if [ -r filename ]; then ^ ... ? Thomas Heller