(no title)
yudlejoza | 4 years ago
cat input.file | ... | while read -r unit; do <cmd> ${unit}; done | ...
between 'while read -r unit' and 'while IFS= read -r unit' I can probably handle 90% of the cases. (maybe I should always use IFS since I tend to forget the proper way to use it).
scottlamb|4 years ago
https://news.ycombinator.com/item?id=28192946
patrickdavey|4 years ago
I suspect I'll really like your way of doing things, but an example would be very handy.
yudlejoza|4 years ago