With respect to the first code instance, if I have (2 directories, 3 files) ...
../ ./ p/ q/ r s t
... then *nothing* is printed (perl 5.8.8, CentOS 6, zsh 4). If I remove the while loop (-n option), expected output is printed.
In reply to Re^2: ls piped tpo perl -pe runs indefintely
by Anonymous Monk
in thread ls piped tpo perl -pe runs indefintely
by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |