Comment by carom
4 years ago
I very often use the while pattern. Where ls -1 and echo $line can be swapped out.
ls -1 | while read line; do echo $line; done
4 years ago
I very often use the while pattern. Where ls -1 and echo $line can be swapped out.
ls -1 | while read line; do echo $line; done
No comments yet
Contribute on Hacker News ↗