This will overwrite output file in while loop.system("/home/me/ipinfo.pl $_ >$output 2>&1");
system("/home/me/ipinfo.pl $_ >> $output 2>&1");
In reply to Re: BOTH STOUT and STDERR to same file.
by remiah
in thread BOTH STOUT and STDERR to same file.
by hmb104
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |