:Using Bash To Feed Command Output To A While Loop Without Using Pipes!
Using Bash To Feed Command Output To A While Loop Without Using Pipes! Aug 7, 2008, 02 :00 UTC (0 Talkback[s]) (5241 reads) (Other stories by Mike Tremell)
"So, other than the file descriptor exec workaround (which is really just a fancy way of outputting your process's STDIN and STDOUT streams to a file and reading from it; completely contrary to the spirit of having this work naturally) the following might seem like a reasonable way to "feed" your while loop the command output (only showing the last lines of the following code blocks for brevity's sake as we roll through the error scenarios):"