Skip to main content
10 events
when toggle format what by license comment
Feb 12, 2017 at 14:06 comment added Ole Tange @iruvar I believe you mistake my edit (#3) for hschou's (#2). Mine is correcting a speling msitake and adding -j0. Hardly worth its own answer.
Feb 12, 2017 at 13:39 comment added iruvar @oletange, your edit should really have taken the form of a separate answer
Feb 12, 2017 at 13:18 history edited Ole Tange CC BY-SA 3.0
speling msitake
Feb 12, 2017 at 9:47 history edited hschou CC BY-SA 3.0
Added another way to do it.
Feb 12, 2017 at 9:40 comment added Alexander Mills Yeah essentially controlled by the user
Feb 12, 2017 at 9:39 comment added hschou Looping? Do you have a fixed list of commands or is that controlled by the user? I am not sure I understand what you are trying to do but maybe PIPESTATUS is something you should check out. This seq 10 | gzip -c > seq.gz ; echo ${PIPESTATUS[@]} returns 0 0 (exit code from first and last command).
Feb 12, 2017 at 9:25 comment added Alexander Mills One way to generify it might be to use a looping construct?
Feb 12, 2017 at 9:23 comment added Alexander Mills I updated the original question to reflect that I am looking for a generic solution, thanks
Feb 12, 2017 at 9:22 comment added Alexander Mills ok thanks, is there a way to generify this? I don't just have 3 sub processes, I have Z sub processes.
Feb 12, 2017 at 9:11 history answered hschou CC BY-SA 3.0