the Missing M
Group: Members
Posts: 35
Joined: Mar. 2007 |
|
Posted: May 20 2007,16:00 |
|
Quote (^thehatsrule^ @ May 19 2007,16:02) | I think he wants to _ignore_ gproftpd. Using something like this might work: grep -e " proftpd$" |
Ah. And does the trailing `$' mean end of input?
Quote | Or you could use awk ... much easier to deal with fields. |
Looks good, but from a quick skim through man [m]awk, it also looks like a bit more than I'm ready for. Then again, it probably lists a lot of features I'd rarely use.
The FS / field separator thing kind of reminds me of the `text item delimiters' variable in AppleScript though. Would come in handy, as soon as I figure out how to use it. ;-)
Thanks,
Patrick.
-------------- Q: What is the difference between a joke, and a lie? A: A lie tends to obscure the truth, while a joke often reveals it.
|