Re: using grep on /var/log/mail.log trying to escpae an "-"

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jim
Date:  
To: PLUG
Subject: Re: using grep on /var/log/mail.log trying to escpae an "-"
Sorry the output is this

grep "-"6.3* /var/log/mail.log |grep Hits
grep: invalid option -- .
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.



Jim

On Thu, 2004-03-18 at 11:43, Jim wrote:
> I am using grep and tyring to escape an - and I want everying returned
> that is 6.3 to 6.9
>
> I tried something like this
>
> grep "-"6.3* /var/log/mail.log |grep Hits
>
> and I get
>


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss