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. From patchwork Thu May 5 22:12:22 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: 12840286 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 10C6CC433F5 for ; Thu, 5 May 2022 22:14:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233048AbiEEWSQ (ORCPT ); Thu, 5 May 2022 18:18:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351287AbiEEWSP (ORCPT ); Thu, 5 May 2022 18:18:15 -0400 X-Greylist: delayed 135 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 05 May 2022 15:14:32 PDT Received: from tarta.nabijaczleweli.xyz (unknown [139.28.40.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D59F85EDDD 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 C836C1B92 for ; Fri, 6 May 2022 00:12:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz; s=202006; t=1651788743; bh=brtJ09KtUjbwbkqZIpRG39TFsX50fSqRTIffHcn4nW8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Tx40hwyKpz9e7gN2Rq9WXRadSyN2rn6v/lanwwqNROX05dt5k6o+kNUbpMyFkcuys /zE/uTYrmt3CUxeLNzJ4AkDs6GWBccP31cpmaKH8ikuiaWssMxwcpCoGUPJqRlPv6c q5oGRCupTfzCs96TP62AC/KbynGy19aUNuQvcBiqJN/uVJQfxoSlA+wukmEC0O/86O oaIcO2UDYmj7z/p8qDKYyx3HKSwE/pB65kDUc0Yvl3pr9D5ase1XlXwRWNm/UjbuWv Nagt5nRLi1WUoOtWrmz9oMZQ3mOLrwOJX6pe9ZmaffODQtgbArU4X/LndKsEBRl3rk 4iy+ktm6AIAzg== Date: Fri, 6 May 2022 00:12:22 +0200 From: =?utf-8?b?0L3QsNCx?= To: dash@vger.kernel.org Subject: [PATCH 2/2] man: note chdir being the same builtin as cd Message-ID: <1517fbdef919dd93b775a4c4278b98d4d626d071.1651788702.git.nabijaczleweli@nabijaczleweli.xyz> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20220429 Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org The manual now contains all built-ins Signed-off-by: Ahelenia Ziemiańska --- Please keep me in CC, as I'm not subscribed. src/dash.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dash.1 b/src/dash.1 index 969a883..dd2bd47 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -1143,8 +1143,8 @@ Do not execute the command but search for the command and print the absolute pathname of utilities, the name for builtins or the expansion of aliases. .El -.It cd Ar - -.It Xo cd Op Fl LP +.It cd|chdir Ar - +.It Xo cd|chdir Op Fl LP .Op Ar directory .Xc Switch to the specified directory (default From patchwork Thu May 5 23:08:12 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: 12840313 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 0C065C433F5 for ; Thu, 5 May 2022 23:08:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381699AbiEEXL6 (ORCPT ); Thu, 5 May 2022 19:11:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378983AbiEEXL5 (ORCPT ); Thu, 5 May 2022 19:11:57 -0400 Received: from tarta.nabijaczleweli.xyz (unknown [139.28.40.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 378825EDCA for ; Thu, 5 May 2022 16:08:15 -0700 (PDT) Received: from tarta.nabijaczleweli.xyz (unknown [192.168.1.250]) by tarta.nabijaczleweli.xyz (Postfix) with ESMTPSA id 315391AA6 for ; Fri, 6 May 2022 01:08:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nabijaczleweli.xyz; s=202006; t=1651792093; bh=Pj9+oU/xccJ3EM+y9yYtptpw74MmJvAAfRcgIfiQK7s=; h=Date:From:To:Subject:References:In-Reply-To:From; b=dmiGRlcrPihU5NRaSiPMFePEroeuE7pF/zHxaSJY0/Z4xgWRYNnbTjvumOR2DanCb 4XMmM4j0OmhYw0nay6c7xEPf2iCkjlEyHFF3ksbq2slmqJrPoKyAi4NvdkjClUWUhN 59ZTewfAf3p7j+GU5/sLtgdZepPp5owWA01ukFdE+kZnAwfRv+rVdk4DR8NABbiQe/ RchEMTq5GUbUXolRAj0VqX2X/Adk+oAXqIa5QUagW1AtEYY5ljPhPVx2uKX7ORF6Mh ok1V7kevlQ3IbazGaX4Ue9bwMPEJKjUayq1H1P9Yu0+tEp3vmt22Yms1sr3020ic93 KEpkgwH1UAfvg== Date: Fri, 6 May 2022 01:08:12 +0200 From: =?utf-8?b?0L3QsNCx?= To: dash@vger.kernel.org Subject: [PATCH 3/2] man: document kill builtin Message-ID: <20220505230812.iarg3q4panxc4mnw@tarta.nabijaczleweli.xyz> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20220429 Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org Signed-off-by: Ahelenia Ziemiańska --- I missed that kill wasn't documented; it is now, and it should really be all. Please keep me in CC, as I'm not subscribed. src/dash.1 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/dash.1 b/src/dash.1 index dd2bd47..514fcfe 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -1478,6 +1478,33 @@ of other members of the job. .It Fl p Display only leader PIDs, one per line. .El +.It kill Oo Fl s Ar sigspec | Fl Ns Ar signum | Fl Ns Ar sigspec Oc Op Ar pid | job ... +Equivalent to +.Xr kill 1 , +but a +.Ar job +spec may also be specified. +Signals can be either case-insensitive names without +.Dv SIG +prefixes or decimal numbers; the default is +.Dv TERM . +.It kill Fl l Op Ar signum | exitstatus +List available signal names without the +.Dv SIG +prefix +.Pq Ar sigspec Ns s . +If +.Ar signum +specified, display just the +.Ar sigspec +for that signal. +If +.Ar exitstatus +specified +.Pq > Sy 128 , +display just the +.Ar sigspec +that caused it. .It pwd Op Fl LP builtin command remembers what the current directory is rather than recomputing it each time.