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

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

--- Comment #1 from Graham Perrin <grahamperrin@gmail.com> ---
(In reply to Ron Wills from comment #0)

If not a bug, might this be a question for Stack Exchange? 

Here, without using sh: 

% sleep 10 &
[1] 12372
% sleep 10 &
[2] 12374
% sleep 10 &
[3] 12376
% jobs
[1]  + Running                       sleep 10
[2]  - Running                       sleep 10
[3]    Running                       sleep 10
% jobs | wc -l
       0
% jobs | cat
[1]    Done                          sleep 10
% jobs
[2]  + Done                          sleep 10
[3]  + Done                          sleep 10
% jobs
% jobs | cat
% echo $SHELL
/bin/tcsh
% uname -KU
1400047 1400047
%

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