On Mon, 08 Aug 2005 14:27:42 -0600, Aaron J. Seigo wrote > On Monday 08 August 2005 01:34, Shane wrote: > > Ooops. Thanks all. I didn't think I could chain grep. > > you can chain, or rather "pipe", any application. > > the pipe is simply a generic way to route output from one command to > the input of another. so any command that takes input from stdin can > make use of being on the right side of a | and any command provide > output can be usefully used on the left side of a | ... > > you can also redirect output, which is handy for doing things like > redirecting stderr to stdout and piping that through grep... > > one of my piping favourites is 'tee': > > $SOME_COMMAND | tee $SOME_LOGFILE > > do a man:tee in konqi (or `man tee` from the command line if you are > more old school =) to see what this does (it's pretty cool) > > -- > Aaron J. Seigo > GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 > > Full time KDE developer sponsored by Trolltech > (http://www.trolltech.com)
Thanks again Aaron et al! Shane _______________________________________________ clug-talk mailing list [email protected] http://clug.ca/mailman/listinfo/clug-talk_clug.ca Mailing List Guidelines (http://clug.ca/ml_guidelines.php) **Please remove these lines when replying

