From patchwork Thu May 5 22:12:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?0L3QsNCx?= X-Patchwork-Id: 12840285 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25AB6C433FE for ; Thu, 5 May 2022 22:14:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351287AbiEEWSQ (ORCPT ); Thu, 5 May 2022 18:18:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245603AbiEEWSP (ORCPT ); Thu, 5 May 2022 18:18:15 -0400 Received: from tarta.nabijaczleweli.xyz (unknown [139.28.40.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 473C85EDE1 for ; Thu, 5 May 2022 15:14:32 -0700 (PDT) Received: from tarta.nabijaczleweli.xyz (unknown [192.168.1.250]) by tarta.nabijaczleweli.xyz (Postfix) with ESMTPSA id 3C0FF1B8E for ; Fri, 6 May 2022 00:12:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz; s=202006; t=1651788734; bh=v3Ld0PLF+MKzHVVmQtFMacw2PyiPkcYLYIUDsFvMUpw=; h=Date:From:To:Subject:From; b=NwdYi1D2MHlwxCOI2wMT4Gl/8Su/90piV+G4fZQcBfCh0ZUUzMnArAaD6Vx/OiaiW wBzAcRgcY/A9nOT9AnJYcW7gvGWO8D/iMv6LYYOxU9UAVcDWF5uWxnmi7mIK9L3Wat Ophnx4OwQMYXJLYAJdpoSCNfE9w1jQ3hjkAASeVjqfHggBztRjCnoA2Uw0xSDHPgUN CjpWaTfY+7mZkscivsVKoWq5wUJqL29jyIxraRKSmAkiJq5cAJA2u5BW7ddWgODF5+ 9dFmE8u+QXSK/tB0ZOmqlzETXH7xNlygxNyELQF4hA7u9F3lUKDCRsHUhk1HRXxz+2 rGK/ETeLCOWhA== Date: Fri, 6 May 2022 00:12:13 +0200 From: =?utf-8?b?0L3QsNCx?= To: dash@vger.kernel.org Subject: [PATCH 1/2] man: document jobs builtin Message-ID: MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20220429 Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org Fixes: Debian #558607 Signed-off-by: Ahelenia ZiemiaƄska --- Please keep me in CC, as I'm not subscribed. src/dash.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/dash.1 b/src/dash.1 index ff02237..969a883 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -1464,6 +1464,20 @@ The .Fl r option causes the hash command to delete all the entries in the hash table except for functions. +.It jobs Oo Fl lp Oc Op Ar job ... +Display the status of all, or just the specified, +.Ar job Ns s : +.Bl -tag -compact -offset 5n -width "By default" +.It By default +display the job number, currency +.Pq Sy +- +status, if any, the job state, and its shell command. +.It Fl l +also output the PID of the group leader, and just the PID and shell commands +of other members of the job. +.It Fl p +Display only leader PIDs, one per line. +.El .It pwd Op Fl LP builtin command remembers what the current directory is rather than recomputing it each time.