|
From: | Chuck Swiger |
Subject: | Re: Reporting a bug in grep |
Date: | Tue, 24 Jan 2006 12:14:45 -0500 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
Naresh Ranvah wrote:
HiI was using grep to find a expression ^=in a file that contained it. It does not list it.
The "^" means "not" in regex. If you want to search for the literal string "^=", rather than matching lines which do not contain an "="'s, try using "grep -F" or "fgrep" instead.
-- -Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |