From nobody Fri Jan 14 14:33:16 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 39CEA1945D63 for ; Fri, 14 Jan 2022 14:33:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jb3gc5tlCz3jNh for ; Fri, 14 Jan 2022 14:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A9FDD15842 for ; Fri, 14 Jan 2022 14:33:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20EEXGTc058743 for ; Fri, 14 Jan 2022 14:33:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20EEXGAd058742 for bugs@FreeBSD.org; Fri, 14 Jan 2022 14:33:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261200] Unable to pipe the output of jobs in sh Date: Fri, 14 Jan 2022 14:33:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ron@digitalcombine.ca X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642170796; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=L4k4FIonUfVYnYrM5Fe6jdzrKXSJYMYNbrmiI+VYK+s=; b=FzerFaK47BCTqRdH3dNXJzDlW4eGckHO69xjFE6JFIoc+T6BF9YBvWVnQj7PilPlG9tXdz 0MIH5RGiTvJmaA9nUd7QpV3fv6QfwpQmpquSSpTwnVK1Lh37ToNs+wYAryEfLyxW2kWsYZ /nITC78HEusHdXo0+0XXDc4I6g1AOyw9b8P8Wr6544wCRfqp5JZk5XuoW0wqSKRKu9Jy6P wihWR4+4pzkiykQJrmaUfhkUR2MB5LGs4t0al1IRxEhQG9ew8Rlho2jAoA8spuOf47k0NV z4LlLfP/fu+lujwlzoxZJgYK5SP28qRxAf+wTEqlmG/8oHtw+SWFU6L9y5+Muw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642170796; a=rsa-sha256; cv=none; b=N0/BG+nPjlTMiYHPX8VlM9WSmyrUjQTFtKDb+/3bree+0+tovxtQh6riEF6PS4ZDmSp4ED EmymFqv9LdLX+jf+v3qg/N6U0P+/QkuGII4ll/9Tuy04MjdKe582LjLLu1IjqXfSsgbDaE 5KAzTObsfWVZj2pHg2Yqr2agAtR60VZEv4uYzcvRVB8gjiyAXzTs4bX0UcWYUbHl6SYNwH olazBWkJZlzO0OaCZxSDLOSp0ydUkJ6EGP3pbzhO8zD+tRW8Jq91z1lPvc0p+S40UBRUdD ne/JJjv4OfyRXwylS+/u/2g3weQu5apIXStBqAefXz7XYXJtQRSh4kRi1haIEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=