X-Loop: help-debbugs@HIDDEN Subject: bug#72270: missing major point in the man page for command n Resent-From: Vincent Lefevre <vincent@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-sed@HIDDEN Resent-Date: Wed, 24 Jul 2024 09:36:02 +0000 Resent-Message-ID: <handler.72270.B.172181372415946 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 72270 X-GNU-PR-Package: sed X-GNU-PR-Keywords: To: 72270 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-sed@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.172181372415946 (code B ref -1); Wed, 24 Jul 2024 09:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 09:35:24 +0000 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> 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-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--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Vincent Lefevre <vincent@HIDDEN> Subject: bug#72270: Acknowledgement (missing major point in the man page for command n) Message-ID: <handler.72270.B.172181372415946.ack <at> debbugs.gnu.org> References: <20240724093457.GC2858@HIDDEN> X-Gnu-PR-Message: ack 72270 X-Gnu-PR-Package: sed Reply-To: 72270 <at> debbugs.gnu.org Date: Wed, 24 Jul 2024 09:36:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-sed@HIDDEN If you wish to submit further information on this problem, please send it to 72270 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 72270: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72270 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 24 Jul 2024 10:29:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 06:29:47 2024 Received: from localhost ([127.0.0.1]:33179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWZFj-0005UW-5W for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 06:29:47 -0400 Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:40616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vincent@HIDDEN>) id 1sWZFg-0005UM-CV for control <at> debbugs.gnu.org; Wed, 24 Jul 2024 06:29:46 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98) (envelope-from <vincent@HIDDEN>) id 1sWZFZ-00000000bng-0coe; Wed, 24 Jul 2024 12:29:37 +0200 Date: Wed, 24 Jul 2024 12:29:37 +0200 From: Vincent Lefevre <vincent@HIDDEN> To: control <at> debbugs.gnu.org Subject: Re: missing major point in the man page for command n Message-ID: <20240724102937.GD2858@HIDDEN> References: <20240724093457.GC2858@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240724093457.GC2858@HIDDEN> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.13+77 (9dc98409) vl-169878 (2024-06-20) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) retitle 72270 missing major point in the sed(1) man page for command n tags 72270 patch
Received: (at control) by debbugs.gnu.org; 24 Jul 2024 10:29:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 06:29:47 2024 Received: from localhost ([127.0.0.1]:33179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWZFj-0005UW-5W for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 06:29:47 -0400 Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:40616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vincent@HIDDEN>) id 1sWZFg-0005UM-CV for control <at> debbugs.gnu.org; Wed, 24 Jul 2024 06:29:46 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98) (envelope-from <vincent@HIDDEN>) id 1sWZFZ-00000000bng-0coe; Wed, 24 Jul 2024 12:29:37 +0200 Date: Wed, 24 Jul 2024 12:29:37 +0200 From: Vincent Lefevre <vincent@HIDDEN> To: control <at> debbugs.gnu.org Subject: Re: missing major point in the man page for command n Message-ID: <20240724102937.GD2858@HIDDEN> References: <20240724093457.GC2858@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240724093457.GC2858@HIDDEN> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.13+77 (9dc98409) vl-169878 (2024-06-20) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) retitle 72270 missing major point in the sed(1) man page for command n tags 72270 patch
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.