I have a new favorite feature in zsh: multios

You can redirect output multiple times; it's like an implicit tee but
more powerful.  For example.

some_command >output-file |cat

will send standard output to output-file AND write it to the terminal.
For more info, do "man zshall" and look at the MULTIOS section.

That's so cool.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868

Attachment: pgpBqBPhf2P9k.pgp
Description: PGP signature

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to