On Mon, Feb 03, 2014 at 09:12:36PM +0100, [email protected] wrote:
> Actually, it always worked for me and it is working now. $ man grep
> doesn't shows that option (why?) but if you try it you'll get a
> result.
> Try this for example:
> $ lspci | grep --p "VGA|USB"

$ lspci | grep -E "VGA|USB"

        would be the documented method, or just use egrep instead.

> One I add --p it searches differents words for results: USB then VGA.
> I used this for years but only now I'm noticing there's no
> documentation in grep for that (but it works).

Reply via email to