ALT Linux Bugzilla – #10973
grep -o option is buggy in conjunction with anchors
Last modified: 2010-09-20 21:48:10
You need to
before you can comment on or make changes to this bug.
$ echo asdf |grep -o '^..'
grep.c prline() only_matching algorithm is clearly broken wrt anchors.
In grep-2.6.3-alt1 the bug is already fixed.