[PLUG] Correct use of 'tee'

Wil Cooley wcooley at nakedape.cc
Mon Jan 16 17:41:56 UTC 2006


Also Sprach Eli Stair <eli.stair at gmail.com> on Mon, Jan 16, 2006 at 09:30:16AM PST:
> Pardon for replying without reading the entire thread, but thought
> this may be relevant:
> 
> When you're expecting some set output handling to work, sometimes it
> doesn't occur the way it "should".  One recent example, redirecting
> STDERR/STDOUT from SLES9's rsync is improper for some reason.  You can
> correctly redirect 1> 2> when running it in 'normal' or debug, but the
> verbose mode doesn't work... comes out properly to the command line,
> but when you do 2> /tmp/test.txt your stderr never gets there (or to
> console).
> 
> Sometimes when you're just starting to think you're crazy, it really
> IS something behaving erraticly :)

It is possible for programs to discover and open the controlling tty to
which they are connected, bypassing the standard I/O conventions.

Wil
-- 
Wil Cooley                                 wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc
* * * * Linux, UNIX, Networking and Security Solutions * * * *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20060116/54386d4f/attachment.asc>


More information about the PLUG mailing list