bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep (GNU grep) 2.5.1


From: Eli Zaretskii
Subject: Re: grep (GNU grep) 2.5.1
Date: Sun, 29 Jun 2003 06:28:32 +0300

> Date: Sat, 28 Jun 2003 17:04:53 +0200
> From: Stepan Kasal <address@hidden>
> 
> On Fri, Jun 27, 2003 at 09:42:53PM -0700, Robert Wishlaw wrote:
> > grep (GNU grep) 2.5.1
> > 
> > F:\PROGRA~2\STRANN~1>grep -r 'hello' *.c
> > grep: *.c: Invalid argument
> 
> you probably have to approach the project which has done the port.

Why?  Because of the "Invalid argument" message?  That's just a
variation on the "No match." theme.  The "*.c" pattern failed to
match any files, so it was passed verbatim to Grep (I understand some
Unix shells do that as well, right?).  And the system call to open
the file named "*.c" failed saying it's an invalid argument (because
on Windows, `*' is a character that cannot appear in a file name).

So, apart of a cockpit error, there's nothing wrong with this port.




reply via email to

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