[Bug 261200] Unable to pipe the output of jobs in sh
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jan 2022 00:25:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261200 --- Comment #7 from Ron Wills <ron@digitalcombine.ca> --- Okay now this is making sense. Simple examples: $ jobs Outputs from the current shell. $ jobs | cat Jobs is now in a subshell, created by the pipe, with a new jobs table so no output. $ echo $(jobs) | cat or $ echo `jobs` | cat Allows you to pipe the jobs output in a work around the whole subshell thing. -- You are receiving this mail because: You are the assignee for the bug.