bug-grep
[Top][All Lists]
Advanced

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

Re: Bug: grep -o '^.' Prints All Characters.


From: Mike Frysinger
Subject: Re: Bug: grep -o '^.' Prints All Characters.
Date: Thu, 24 Apr 2008 15:49:04 -0400
User-agent: KMail/1.9.7

On Thursday 24 April 2008, Ralph Corderoy wrote:
>     $ grep --version
>     grep (GNU grep) 2.5.1
>
>     Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
>     This is free software; see the source for copying conditions. There is
> NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
>     $ pkg version grep
>     grep    2.5.1.ds2-6build1
>     $ echo abc | grep -o '^.'
>     a
>     b
>     c
>     $
>
> I think it should print just one line;  `a'.

bug reports should usually go to the bug tracking page rather than reported to 
the mailing list ...

this issue though has already been fixed in grep-2.5.3 as noted by someone 
else recently on the mailing list
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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