Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2022 08:23:52 +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-k22UD8CgWk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261200-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261200-227-k22UD8CgWk>