bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with grep


From: Benno Schulenberg
Subject: Re: Trouble with grep
Date: Thu, 17 Aug 2006 22:14:37 +0200
User-agent: KMail/1.9.4

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

[Prev in Thread] Current Thread [Next in Thread]