This will only work if your output is less than one "pipe bufferful" (512 bytes or some small multiple thereof). Attempts to write more than that amount of output will cause your script to hang.
- tye (but my friends call me "Tye")In reply to (tye)Re: self answer (was: Re: redirecting STDOUT (of a system call) to a var)
by tye
in thread redirecting STDOUT (of a system call) to a var
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |