This change allows $(jobs -p) to work. Some references: http://kb.iu.edu/data/aegh.html http://lists.freebsd.org/pipermail/freebsd-bugs/2009-April/034763.html With this change, the following: ls | date | sleep 30 & jobs jobs -p jobs -l jobs -pl echo Test 1 ; jobs -p | cat echo Test 2 ; date | jobs -p | cat echo Test 3 ; X=$(jobs -p) ; echo "$X" echo Test 4 for X in `jobs -p` ; do echo "$X" done produces the output: [1] + Running ls | date | sleep 30 8257 [1] + 8257 Running ls 8258 | date 8259 | sleep 30 [1] + 8257 Running ls 8258 | date 8259 | sleep 30 Test 1 8257 Test 2 8257 Test 3 8257 Test 4 8257
Created attachment 493 [details] Allow output of jobs to be piped
Applied, thanks!
Closing as fixed. If you can, please try current git and reopen if there are problems.