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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ signature.asc (application/pgp-signature)
Slet denne besked
Besvar denne besked
Skribent: Bryce C
Dato:  
Til: plug-discuss
Emne: Re: using grep on /var/log/mail.log trying to escpae an "-"
Try
grep -- -6.3 /var/log/mail.log|grep Hits
The -- indicates no further options so - is a valid character. I don't
know if this will work with how grep takes options, but it's worth a
try.

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

--
Bryce C <>
CoBryce Communications