Re: Grep Problem.

Sandip Bhattacharya <[email protected]> Sat, 11 Sep 2004 14:46:04 +0530
Newsgroups gmane.user-groups.linux.delhi.devel
Organization Puroga Technologies Pvt. Ltd.
Message-ID <[email protected]>
On Saturday 11 Sep 2004 1:07 pm, amitflu wrote:
> Hi all,
>
> If not need to search "--" how can are grep it.
>
> for example if i need to grep:-
>  grep -- filename
>
> how can I do thius stuff?
>

If you dont need to use regular expressions, always use fgrep instead of grep. 
It is much faster.

- Sandip

-- 
Sandip Bhattacharya    *    Puroga Technologies   *     sandip-/[email protected]
Work: http://www.puroga.com        *         Home: http://www.sandipb.net

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

"Don't talk to me about disclaimers!  I invented disclaimers!"
-- The Censored Hacker