[wplug] shell trick?
Bill Moran
wmoran at potentialtech.com
Sun May 28 11:54:56 EDT 2006
Zach <netrek at gmail.com> wrote:
> i am trying to grep a very large file (50MB) for hostnames containing
> ".at" (Austria),
> i tried "grep ".at" *" and it is giving references for "at" but i
> don't want the word at i just want ".at", anyone know a way to do
> this?
The . is a metacharacter. To get a literal ., you need to escape it:
grep '\.at' *
--
Bill Moran
They want us alive when they eat us.
River Tam
More information about the wplug
mailing list