Vincent Lefevre <vincent@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Vincent Lefevre <vincent@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 09:35:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 05:35:24 2024 Received: from localhost ([127.0.0.1]:33147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWYP6-000498-HV for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 05:35:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:51782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vincent@HIDDEN>) id 1sWYP4-000490-6u for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 05:35:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vincent@HIDDEN>) id 1sWYOx-0003RJ-7p for bug-sed@HIDDEN; Wed, 24 Jul 2024 05:35:16 -0400 Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <vincent@HIDDEN>) id 1sWYOv-00078m-Ad for bug-sed@HIDDEN; Wed, 24 Jul 2024 05:35:15 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98) (envelope-from <vincent@HIDDEN>) id 1sWYOf-00000000XtC-25bW; Wed, 24 Jul 2024 11:34:57 +0200 Date: Wed, 24 Jul 2024 11:34:57 +0200 From: Vincent Lefevre <vincent@HIDDEN> To: bug-sed@HIDDEN Subject: missing major point in the man page for command n Message-ID: <20240724093457.GC2858@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="Lp4cFAiGzAKU/iI4" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.13+77 (9dc98409) vl-169878 (2024-06-20) Received-SPF: pass client-ip=140.77.13.17; envelope-from=vincent@HIDDEN; helo=cventin.lip.ens-lyon.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --Lp4cFAiGzAKU/iI4 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi, The sed(1) man page misses a major point in the description of command n: The current pattern space is output if automatic printing has not been suppressed. I've attached a patch against master. -- Vincent Lefèvre <vincent@HIDDEN> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) --Lp4cFAiGzAKU/iI4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-sed-1-improve-description-of-command-n.patch" From 59782a755c58a0d7edc0934f1ec821b12d003455 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre <vincent@HIDDEN> Date: Wed, 24 Jul 2024 11:26:19 +0200 Subject: [PATCH] sed(1): improve description of command n The current pattern space is output if automatic printing has not been suppressed. --- doc/sed.x | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/sed.x b/doc/sed.x index c1b1fcf..63703a9 100644 --- a/doc/sed.x +++ b/doc/sed.x @@ -131,8 +131,12 @@ breaking it at .I width characters. This is a GNU extension. .TP -n N -Read/append the next line of input into the pattern space. +n +Print the current pattern space if automatic printing has not been +suppressed, and read the next line of input into the pattern space. +.TP +N +Append the next line of input into the pattern space. .TP p Print the current pattern space. -- 2.45.2 --Lp4cFAiGzAKU/iI4--
Vincent Lefevre <vincent@HIDDEN>
:bug-sed@HIDDEN
.
Full text available.bug-sed@HIDDEN
:bug#72270
; Package sed
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.