bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep '-o' ???


From: Matthew Woehlke
Subject: Re: grep '-o' ???
Date: Wed, 07 Nov 2007 14:37:46 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0

Leslie E. Ballentine wrote:
And how do I search a file for the characters "-o"?

Not sure why no one mentioned...

grep -- -o testfile

Most (all?) GNU utilities recognize '--' as "there are no options after this point".

--
Matthew
The time you have spent
Reading this lame signature
Is now lost to you





reply via email to

[Prev in Thread] Current Thread [Next in Thread]