From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 334 invoked from network); 17 Feb 2021 10:22:36 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 17 Feb 2021 10:22:36 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1613557356; b=qMUnA8EvumdbZfedNQuAOeHeFW/J3tgmvhoeVTkU8srH04PNYQYnAOAKc/0Y6Yb5LeU0Ew5JdX KPGSNFYOotsW4D75xnsdzbZws/cVX8Z4mA2WX6tx1BbMkq9hog1DFXCBcja6lg2DVvT4eAFCA0 iTzfx6SeUoBCDMSEzZbowGYEAYAiInB6tP+o9HXG6+iOzuunc6Wl4ChtZGPj458k6NEIC193Gu 8bvgFa8pPh5I3ICk+cJCcVdqibY7ZLOHEPO3+Am3HhZ98WzQ5j1SHVr/B6d1S6BbaAFyOH73SO zlVA3Gn9QNvAD/pud1iOsdCJm4F1GZukhtH/SBxexjtgJg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1613557356; bh=CoQjosxy4cOBtpTxeVCyeYRECfgLw4AlNg0Lc8b7rYk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=SXq4OD9NR3KedRezUeQpvwsuC/m9jHDvx5h/oX8JKMIxAyX4LpGDSjRssYWjmHyfzoV6i0UYRK jAvMqyWFY0qfolmuAgg9XqnbJvaotKJAagzfljB05z7ttsdbSeHl9nI958bPSIhuzfCllqp+MI VuLtcS+bp0wBqiBXN1xFltEk+yRM8UHrUBBME7j0nQE9kvDx/MeYpCUxSQijRAqbS9IeaeIBwA cxy+hp6rlj4ZbuO+dVdITh1QAGxDa+B7HVaZqXhLd04USP9H3GDMR7gughO8JT7M9+SW2dob4q rk/yzYCiZHWD7eDdhDjVP3D4pdPnSwEMdC8YuF6buFT3DQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=bYEZgzwBqClNusTLlCGtOVJ5v5XcClXp49KnzHgoZ+M=; b=hpBWQ3MEVqMN7N+kX71eiwzoae 5xgC1g7jgkBXQIVzhujI8YSLCarhGuXvT/z2Cwep5xR0CXTFWVZRkyMJtdogXD994LRepWqbh91Gj bSSUXA8HyjEOEP+w0+3niUpM8Rk7E350gbioMSps6Oy91b048G+pY+uTe8Y2/442N1GBsq1jBaS9W OqphfTl2lvrPNNQBhkPUkLdrjUCz+RF40Yxq152+m2rLPz16tzbo9noatIt+C2oy8/6akJMfPo4WF +SqmVm9+sCW7WSu742eZ9aAd/iI4bGQJEG6YlrDK/zguVi1SgtUnsWiDI5Sk4F2a9VPmaj4kFw/Kt JUY6YJ7Q==; Received: from authenticated user by zero.zsh.org with local id 1lCJyZ-000Cvl-Pn; Wed, 17 Feb 2021 10:22:31 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:57808) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1lCJy8-000Clu-MH; Wed, 17 Feb 2021 10:22:05 +0000 Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1lCJy7-0004xx-RU for zsh-workers@zsh.org; Wed, 17 Feb 2021 11:22:03 +0100 Received: from oxbe20.tb.ukmail.iss.as9143.net ([172.25.160.151]) by smtp1.tb.ukmail.iss.as9143.net with ESMTP id CJy7lzo7R2h4mCJy7l1SMP; Wed, 17 Feb 2021 11:22:03 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.151 X-CNFS-Analysis: v=2.4 cv=Y9A9DjSN c=1 sm=1 tr=0 ts=602cee4b cx=a_exe a=Ip+kZtMD4PYul4iMASbA3A==:117 a=ADWkfsjt5WoA:10 a=IkcTkHD0fZMA:10 a=ac2Zk7JPEtsA:10 a=P5Q6L1DsAAAA:8 a=uZvujYp8AAAA:8 a=PjuYqXk4AAAA:8 a=vJ0rmLIbXIfE9ednEicA:9 a=QEXdDO2ut3YA:10 a=YJzh7imTU3AA:10 a=M6LpCEiEi-QA:10 a=jxi25fIUQso1YTL4nQQM:22 a=SLzB8X_8jTLwj6mN0q5r:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1613557323; bh=CoQjosxy4cOBtpTxeVCyeYRECfgLw4AlNg0Lc8b7rYk=; h=Date:From:To:In-Reply-To:References:Subject; b=uYL5yIKnsFIuMm+f4Lyk2OZ3uqYr3kzFUW/kWM1nauCQ29NasD7+l/zRNOMZxayLa jyzO2BZ7fI8JIlAaFTlJ1JQ+Z/Vyo0yync4D1+jY6mIim5ZO8m74nuIQz7JLQs2MeH cXp08nYTUjz9j00Msic9qEyzW9u+bQmAWoSmFo5qzVq/SDZJL2Qd/EOnSGmWRVS4Fk MiUesyBkDhITRJ2c609TbkOUkrM4MRIqTLU/WCxgqIcBPbsLX5AwLNbcDlYtgCGG/j EsbyWUt8IwHNCQ1D5jDWnoEfwSKsNTzIitQZZ+QfM8wnPI9Md9UHMLG6PqU3AXwCW2 dgLa7Ye9HF+WQ== Date: Wed, 17 Feb 2021 10:22:03 +0000 (GMT) From: Peter Stephenson To: Martijn Dekker , Zsh hackers list Message-ID: <2107903521.3908044.1613557323736@mail2.virginmedia.com> In-Reply-To: <1f38bb84-9176-7f70-bfe1-d7b27c52b71b@inlv.org> References: <1f38bb84-9176-7f70-bfe1-d7b27c52b71b@inlv.org> Subject: Re: [PATCH] add 'fc -s' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 147.161.167.116 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfIoN+LS/sPsxjHRe8tp0WbIX5dyZ6kCGvBYBcR/Jf4s2clpF3/ZJAxMG/imog/njMTRQ32C0nw1YMOYuIPiATpq6U49IFmIrfwZD+Pm0C2GKDJ+GPg+l nSQC+143ul6F3b8kteX4j1sCfdf2MC4RgCkucqJMPFUC9hlxIgtYgSFtGIDlFPpFCEN1z0h4fZPOHVr/VGzRkeK2BfltR4d7Pd/ITMpIsWBHAK0RjnyAerrd DYDkBnwpKL5BfstZ4XWLCg== X-Seq: 48078 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: > On 16 February 2021 at 18:34 Martijn Dekker wrote: > POSIX specifies 'fc -s' as the option to re-execute the command without > invoking an editor: > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/fc.html > > Zsh doesn't have this option. This was reported by user doedoe18881 on > Reddit: > https://www.reddit.com/r/zsh/comments/lkj7l9/fc_s_and_posix_compatibility/ > > It is an exact equivalent of zsh's 'fc -e -', so adding the option is > trivial and the cost is negligible. Here's a patch. Thanks, it's committed. pws