On Tue, 25 Mar 2003, Yukihiro Matsumoto wrote:

> |this is what i *thought* was meant by 'in-place', but many, many, threads have
> |discussed $defout simply as a means of redirecting/dupping/etc the stdout of a
> |process.
> |
> |is this an abuse then?
>
> No.  $defout is a "default output of print/printf etc." and -i replace
> the input file by $defout output (after making backup).  Does this
> make sense?

yes. finally ( ;-) ).

so, to be safe, $stdout AND $defout should both be redirected when it is
desired that all 'stdout' be directed from a script.

-a

--
  ====================================
  | Ara Howard
  | NOAA Forecast Systems Laboratory
  | Information and Technology Services
  | Data Systems Group
  | R/FST 325 Broadway
  | Boulder, CO 80305-3328
  | Email: ahoward / fsl.noaa.gov
  | Phone:  303-497-7238
  | Fax:    303-497-7259
  ====================================