I found the current thread with the same need as the OP, and interestingly, 15+ years later with IO-Tty-1.12 / Perl 5.22.0 / Linux 4.17.19 i also get strange varying result with a simple 'ls -la': sometimes only the total line, sometimes a single line from the ls, sometimes to whole output...
In reply to Re^3: Fool a process into thinking that STDOUT is a terminal
by seki
in thread Fool a process into thinking that STDOUT is a terminal
by etcshadow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |