Skip to main content

Timeline for answer to Bash while read loop breaking early by Foo Bah

Current License: CC BY-SA 3.0

Post Revisions

2 events
when toggle format what by license comment
Apr 14, 2022 at 2:10 comment added Charles Duffy while read x; do ...; done < <(awk '{print $2}' </etc/hosts) would be better behaved, avoiding the problems described in BashFAQ #24.
Aug 10, 2011 at 22:29 history answered Foo Bah CC BY-SA 3.0