Jason Pursel wrote:
> Using the following search:
> grep –r –l Sata1 *.err

Your mail doesn't specify any encoding, but it seems to be 
iso-8859-1.  You're using ndashes here, though, instead of hyphens.
This is what the command should look like:

  grep -r -l Sata1 *.err

> The following message appears:
> grep: *.err: Invalid argument

The above command only works when the current dir contains one or 
more files that end in "err".

> Using:
> grep –r –l Sata1 *.*
> Executes successfully

This command always works, as long as the current dir isn't empty.

Benno



Reply via email to