Timeline for Process a line in bash as is appears
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27, 2013 at 9:40 | vote | accept | wuschelhase | ||
Jun 25, 2013 at 11:04 | comment | added | wuschelhase | interestingly this does not make it faster. I actually have sed as the B-command. A simple example like ls -l && sleep 3 | sed 's/.*/&/' | while read l; do echo $l; done does work though. | |
Jun 25, 2013 at 10:50 | comment | added | l0b0 |
"Instantly" is not the same as "asynchrously". This solution will end up shuffling lines with B 's execution time.
|
|
Jun 25, 2013 at 10:46 | comment | added | Adam Siemion | @l0b0 backgrounding is how I would address the "line being processed as input for B separately and instantly" requirement. | |
Jun 25, 2013 at 10:44 | history | edited | Adam Siemion | CC BY-SA 3.0 |
added 3 characters in body
|
Jun 25, 2013 at 10:42 | comment | added | l0b0 |
Why are you backgrounding B ?
|
|
Jun 25, 2013 at 10:41 | comment | added | l0b0 |
If B reads standard input you'll need to use a different file descriptor.
|
|
Jun 25, 2013 at 10:38 | review | Suggested edits | |||
Jun 25, 2013 at 10:44 | |||||
Jun 25, 2013 at 10:29 | history | answered | Adam Siemion | CC BY-SA 3.0 |