Using Bash To Feed Command Output To A While Loop Without Using Pipes!Aug 07, 2008, 02:00 (0 Talkback[s])
(Other stories by Mike Tremell)
[ Thanks to Mike Golvach for this link. ]
"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):"
0 Talkback[s] (click to add your comment)