[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with grep



I've come to quote any regex I use on the command line, it will save you
time and headache, which allows you to make more room for other things
to cause your head to ache like dealing with users that need beat with a
LART stick, anyway just my .00416 pounds

Bobkat

-----Original Message-----
From: luci-discuss-owner@luci.org [mailto:luci-discuss-owner@luci.org]
On Behalf Of charles@lunarmedia.net
Sent: Thursday, January 31, 2002 9:37 AM
To: LUCI-DISCUSS
Subject: help with grep

i am grepping through a web log file and coming up with results that i
am 
not expecting. my syntax is

  grep -e \.ico logfile

which i would expect to match

  default.ico

however not

  /icons/

it does seem to be returning both however as though the . were not being

escaped. is my syntax off?

-c


-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.


-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.