[Bug 261200] Unable to pipe the output of jobs in sh

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Jan 2022 18:02:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261200

Fernando ApesteguĂ­a <fernape@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |jilles@FreeBSD.org

--- Comment #4 from Fernando ApesteguĂ­a <fernape@FreeBSD.org> ---
To me, the behavior is erratic to say the least:

$jobs
$sleep 5000&
$sleep 3000&
$jobs
[1] - Running                 sleep 5000
[2] + Running                 sleep 3000
$jobs | wc -l
       0
$jobs %1
[1] - Running                 sleep 5000
$jobs %1 | wc -l
jobs: No such job: %1
       0
$

^Triage: Adding jilles@ to CC since he has fixed some output issues for
builtins before.

-- 
You are receiving this mail because:
You are the assignee for the bug.