[Bug 261200] Unable to pipe the output of jobs in sh
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 261200] Unable to pipe the output of jobs in sh"
- Reply: 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: Fri, 14 Jan 2022 14:33:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261200 Bug ID: 261200 Summary: Unable to pipe the output of jobs in sh Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: ron@digitalcombine.ca Created attachment 231005 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231005&action=edit Basic example of the jobs builtin being piped to other commands The output of the builtin command jobs in /bin/sh cannot be piped to other commands. With other shells like bash the output can be piped to wc or cat and works as expected. With sh it appears all the output is lost. Simply doing 'jobs | cat' in sh never outputs anything. -- You are receiving this mail because: You are the assignee for the bug.