[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug: grep -o '^.' Prints All Characters.
From: |
Ralph Corderoy |
Subject: |
Bug: grep -o '^.' Prints All Characters. |
Date: |
Thu, 24 Apr 2008 18:53:32 +0100 |
Hi,
$ 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'.
Ubuntu is tracking it:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/210890
I'd welcome grep's maintainer's view.
Cheers,
Ralph.
P.S. I mailed the list a week or so ago but it hasn't appeared in the
archives. I've now subscribed in the hope that this will make it.
- Bug: grep -o '^.' Prints All Characters.,
Ralph Corderoy <=