X-Loop: help-debbugs@HIDDEN Subject: bug#72274: option to ignore leading white space Resent-From: Vincent Lefevre <vincent@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-diffutils@HIDDEN Resent-Date: Wed, 24 Jul 2024 12:00:02 +0000 Resent-Message-ID: <handler.72274.B.172182238830681 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 72274 X-GNU-PR-Package: diffutils X-GNU-PR-Keywords: To: 72274 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-diffutils@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.172182238830681 (code B ref -1); Wed, 24 Jul 2024 12:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 11:59:48 +0000 Received: from localhost ([127.0.0.1]:33252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWaeq-0007yn-9G for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 07:59:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:49160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vincent@HIDDEN>) id 1sWaeo-0007ye-2h for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 07:59:46 -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 1sWaeh-0003Ro-Kc for bug-diffutils@HIDDEN; Wed, 24 Jul 2024 07:59:39 -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 1sWaee-0000fw-Hg for bug-diffutils@HIDDEN; Wed, 24 Jul 2024 07:59:38 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98) (envelope-from <vincent@HIDDEN>) id 1sWaeb-00000000dGA-2eqq; Wed, 24 Jul 2024 13:59:33 +0200 Date: Wed, 24 Jul 2024 13:59:33 +0200 From: Vincent Lefevre <vincent@HIDDEN> Message-ID: <20240724115933.GF2858@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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 (---) There should be an option to ignore leading white space, like there is one for trailing white space, and it should probably be integrated in the -b option. Basically, I'd like to be able to get only lines that differ by words. Currently: cventin:~> diff -bu <(printf "ab cd\n") <(printf " ab cd \n") --- /proc/self/fd/11 2024-07-24 13:58:43.515131625 +0200 +++ /proc/self/fd/14 2024-07-24 13:58:43.515131625 +0200 @@ -1 +1 @@ -ab cd + ab cd -- 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)
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#72274: Acknowledgement (option to ignore leading white space) Message-ID: <handler.72274.B.172182238830681.ack <at> debbugs.gnu.org> References: <20240724115933.GF2858@HIDDEN> X-Gnu-PR-Message: ack 72274 X-Gnu-PR-Package: diffutils Reply-To: 72274 <at> debbugs.gnu.org Date: Wed, 24 Jul 2024 12:00: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-diffutils@HIDDEN If you wish to submit further information on this problem, please send it to 72274 <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 72274: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72274 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 24 Jul 2024 12:08:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 08:08:11 2024 Received: from localhost ([127.0.0.1]:33264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWamw-0008Fn-PP for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 08:08:10 -0400 Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:56738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vincent@HIDDEN>) id 1sWamu-0008Fc-7w for control <at> debbugs.gnu.org; Wed, 24 Jul 2024 08:08:09 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98) (envelope-from <vincent@HIDDEN>) id 1sWamm-00000000dOP-3sDB; Wed, 24 Jul 2024 14:08:00 +0200 Date: Wed, 24 Jul 2024 14:08:00 +0200 From: Vincent Lefevre <vincent@HIDDEN> To: control <at> debbugs.gnu.org Subject: Re: option to ignore leading white space Message-ID: <20240724120800.GG2858@HIDDEN> References: <20240724115933.GF2858@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240724115933.GF2858@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 72274 diff: option to ignore leading white space severity 72274 wishlist
Received: (at control) by debbugs.gnu.org; 24 Jul 2024 12:08:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 08:08:11 2024 Received: from localhost ([127.0.0.1]:33264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWamw-0008Fn-PP for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 08:08:10 -0400 Received: from cventin.lip.ens-lyon.fr ([140.77.13.17]:56738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <vincent@HIDDEN>) id 1sWamu-0008Fc-7w for control <at> debbugs.gnu.org; Wed, 24 Jul 2024 08:08:09 -0400 Received: from vlefevre by cventin.lip.ens-lyon.fr with local (Exim 4.98) (envelope-from <vincent@HIDDEN>) id 1sWamm-00000000dOP-3sDB; Wed, 24 Jul 2024 14:08:00 +0200 Date: Wed, 24 Jul 2024 14:08:00 +0200 From: Vincent Lefevre <vincent@HIDDEN> To: control <at> debbugs.gnu.org Subject: Re: option to ignore leading white space Message-ID: <20240724120800.GG2858@HIDDEN> References: <20240724115933.GF2858@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240724115933.GF2858@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 72274 diff: option to ignore leading white space severity 72274 wishlist
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.