Re: echo to stderr

From: Ian D. Bjorhovde (ianbjor@MOBILEAUDIO.COM)
Date: Tue Aug 19 2003 - 21:24:25 EDT


Bill Verzal wrote:
> Can anyone tell me of a way to write to stderr without a redirect ?

With ksh, you can say,

    print -u2 "text"

-u specifies the file descriptor to write to.

Good luck,

--
         ian d bjorhovde           ->      ianbjor@mobileaudio.com
      internet mobile audio     ->      http://mobileaudio.com


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:08 EDT