|
From: | Chuck Swiger |
Subject: | Re: Reporting a bug in grep |
Date: | Tue, 24 Jan 2006 13:06:56 -0500 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
John Cowan wrote: [ ... ]
You need to use fgrep instead. The character ^ has special meaning to grep (the beginning of the line), and can't be used as-is in a grep pattern.
You're right about "^", of course. I was thinking of inverting character classes. Anyway, he wants to use "fgrep" for plain string matching...
-- -Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |