News for hackers. Stuff that matters.
Re:The fish shell is amazing by shakna on Thursday November 25, 2021 @07:49PM (#29346537)
Bash has some subtleties around loops that can be frustrating, like the body of your loop _may_ actually be running in a subshell (common when iterating over a file), making it difficult to extract what you want from it.
Re:The fish shell is amazing by bandie91 on Friday November 26, 2021 @08:04AM (#29349900)
i bet it's the `cat file | while read …` loop what you are referring to, not any loop. but correct me.