Mail Archives: cygwin/1998/07/10/23:47:39
john_baker AT ftdetrck-ccmail DOT army DOT mil wrote:
....
> Observation of potential 'test' bug:
>
> The following fails if more than two files in /temp
> (or any other directory name ):
>
> test -f /temp/*
....
"test -f" allows only one argument. It is meant to test the existence of
exactly one file. "test -f /temp/*" works if temp contains no file since
the replacement for pattern /temp/* is /temp/* and there is no file
named * within directory temp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -