bug-grep
[Top][All Lists]
Advanced

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

Re: [bug-grep] grep-2.5.1a: "make check" fails on NetBSD/sparc-1.5


From: Stepan Kasal
Subject: Re: [bug-grep] grep-2.5.1a: "make check" fails on NetBSD/sparc-1.5
Date: Mon, 10 Jan 2005 16:59:54 +0100
User-agent: Mutt/1.4.1i

Hello,

On Sat, Jan 08, 2005 at 01:14:41AM +0100, Adrian Bunk wrote:
> > echo abc | src/grep -q a - ; echo $?
> > echo abc | src/grep -q a - nonexistent.File ; echo $?
> > echo abc | src/grep -q a nonexistent.File - ; echo $?
> 
> All 3 say:
> 
> grep: illegal option -- -
> Usage: grep [OPTION]... PATTERN [FILE]...
> Try `grep --help' for more information.
> 2
...
> After seeing this error message, it seems to be that the getopt_long() 
> shipped with NetBSD 1.5 does not exactly do what you expect from it.

thank you for analysis.  The grep source tree is going to use gnulib
for getopt and other things.  I looked into getopt.m4, and seems to reject
BSD getopt_long (apparently for other reasons, but it shouldn't matter).

I'll ask you for help once we have gnulib support finished.

Thank you again,
        Stepan Kasal




reply via email to

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