I think that all the solutions posted (correct me if I'm wrong (again)) are effectively variations on using a pipe and capturing the output into the wanted file.
Neither of my solutions use pipes. They just do output redirection like the shell would.
The other solution given does use a pipe, which means the output isn't going to a file. It is placed in the file by the script which gets it from the pipe.
In reply to Re^2: Another system redirect problem
by ikegami
in thread Another system redirect problem
by trendle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |