verbose output to terminal from within shell script?

Andrew McNabb amcnabb at mcnabbs.org
Fri Feb 3 01:26:52 MST 2006


On Fri, Feb 03, 2006 at 01:20:00AM -0700, Gabriel Gunderson wrote:
> 
> [gabe at office ~]$ echo "I smell a hack" | tee /dev/pts/0
> I smell a hack
> I smell a hack
> 

I think "/dev/tty" always points to your own terminal.  Is that
correct?

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20060203/03332e68/attachment.bin 


More information about the PLUG mailing list