[Top][All Lists]

[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: Gecko/20070728 Thunderbird/ Mnenhy/

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".

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]