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.