good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: how to use 2>&1by Illuminatus (Curate) |
on Mar 03, 2011 at 19:55 UTC ( [id://891294]=note: print w/replies, xml ) | Need Help?? |
This is also dependent on which shell you are using. The syntax you alluded to, and was corrected by wind was originally for Bourne shell. If you are using bash, you can also use cmd >& cmd.out. For csh, you should probably use cmd >&! cmd.out. fnord
In Section
Seekers of Perl Wisdom
|
|