Using Bash To Feed Command Output To A While Loop Without Using Pipes!

66
Today’s post regards something I just picked up. In fact, it’s something that’s been driving me nuts for a long long time (Reference our earlier post on piped variable scoping in Linux or Unix). The issue I’m writing about is something I’ve been puzzling over for quite a while in my spare time. I haven’t been mulling over how to “do it myself” creatively, but more about “why has this feature never existed when it seems so essential?” As it turns out, this feature “has” existed, although it was a little hard to find in bash 2.x. With bash 3.x, it’s brought to the fore and given the attention it deserves (including it’s own name 😉

Link: linuxshellaccount.blogspot.com

Category:

  • Linux