[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-grep] Re: Grep for Windows bug report
From: |
Julian Foad |
Subject: |
Re: [bug-grep] Re: Grep for Windows bug report |
Date: |
Sun, 16 Jan 2005 15:41:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041122 |
Aharon Robbins wrote:
Bourne style shells under Unix don't do this. Maybe Windows, but
not Unix. E.g.,
The email implied Windows was being used:
>>El-Shamaa, Khaled (ICARDA) wrote:
>>>At first I would like to thanks you for your effort in making great grep
>>>tool available in windows OS, [...]
$ touch a b
$ ls * > c
$ cat c
a
b
On Windows, it is different: the wildcard is not expanded by the shell but
after the application starts, by which time the file "c" exists.
There is a very similar case in which a wildcard is impled but not specified on
the command line; this will behave the same on both platforms:
$ touch a b
$ ls > c
$ cat c
a
b
c
- Julian