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 - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
Bryce C <
Plug@BryceCo.Net>
CoBryce Communications