Date: Wed, 19 Jan 2022 00:25:16 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261200] Unable to pipe the output of jobs in sh Message-ID: <bug-261200-227-DUuNQ6aFlf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261200-227@https.bugs.freebsd.org/bugzilla/> References: <bug-261200-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261200 --- 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 thin= g. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261200-227-DUuNQ6aFlf>