[Cialug] lsof! grep?
kristau
kristau at gmail.com
Mon Jun 30 18:34:04 CDT 2008
Jeffrey answered the question about the double back slashes. If you
wanted to include a literal '\' in the regex, you would need three of
them.
To "pin" the pattern to the end of the line (nothing after the .so),
add a '$' to the end of the regex as follows:
grep \\.so$
Note, however, that this will exclude lines that have one or more
spaces after the '.so' since the pattern will *only* match if a
newline is immediately after the '.so'.
--
Tired programmer
Coding late into the night
The core dump follows
My GNUPG public key is available at http://www.kristau.net/public_key.asc
More information about the Cialug
mailing list