[Bug 201650] (e)grep handling regexp wrong

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 26 16:38:27 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201650

Daniël de Kok <me at danieldk.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at danieldk.eu

--- Comment #3 from Daniël de Kok <me at danieldk.eu> ---
Matching any four characters at the beginning of a line also fails:

% echo "1234 1234 1234" | egrep -o '^....'
1234
 123
4 12

Interestingly enough, this also fails with bsdgrep:

% echo "1234 1234 1234" | bsdgrep -o '^....'
1234
 123
4 12

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list