Question about 'test' (Was Re: testing if a file is present)

Thomas Heller PPH93 at DMSWWU1A.BITNET
Fri Nov 23 05:52:34 AEST 1990


In article <1990Nov21.191638.19469 at athena.mit.edu>, jik at 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



More information about the Comp.unix.shell mailing list