Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240414 - sys-apps/grep-2.5.1a-r1: '^<character class>' is broken
Summary: sys-apps/grep-2.5.1a-r1: '^<character class>' is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 18:27 UTC by Elias Pipping
Modified: 2008-10-09 05:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Pipping 2008-10-07 18:27:44 UTC
(This works with --color, too, I'll stick to -o here)

`echo foo | grep -o '^[fo]'` should yield a single 'f'.

Instead, I get 'f', 'o', and 'o' (each on a separate line).

I believe this is a different problem than bug #193043.
Comment 1 SpanKY gentoo-dev 2008-10-09 05:35:18 UTC
this has been fixed already with grep-2.5.3