Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2022 14:33: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@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261200

            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=3D231005&action=
=3Dedit
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.

--=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>