GNU bug report logs - #63553
diff command: issue with -B option (--ignore-blank-lines)

Previous Next

Package: diffutils;

Reported by: Alex Escodro <scdrdev <at> gmail.com>

Date: Wed, 17 May 2023 13:15:02 UTC

Severity: normal

Tags: notabug

Done: Carlo Arenas <carenas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63553 in the body.
You can then email your comments to 63553 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#63553; Package diffutils. (Wed, 17 May 2023 13:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex Escodro <scdrdev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Wed, 17 May 2023 13:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alex Escodro <scdrdev <at> gmail.com>
To: bug-diffutils <at> gnu.org
Subject: diff command: issue with -B option (--ignore-blank-lines)
Date: Wed, 17 May 2023 05:08:20 -0300
[Message part 1 (text/plain, inline)]
Hello and good morning!

I'm a software developer improving my skills in linux shell programming,
and while experimenting with diff I came across a situation where blank
lines seem to not be ignored even though -B (or --ignore-blank-lines)
option is used.

I am not sure if it is a bug or some aspect of diff's output technically
referred to as "normal".

I posted a question to Stackoverflow containing detailed information to
reproduce the issue:
https://stackoverflow.com/questions/76269590/why-does-linux-shell-diff-command-sometimes-show-output-related-to-empty-lines-e

Thanks, and best regards
[Message part 2 (text/html, inline)]

Added tag(s) notabug. Request was from Carlo Arenas <carenas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 27 May 2023 06:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 63553 <at> debbugs.gnu.org and Alex Escodro <scdrdev <at> gmail.com> Request was from Carlo Arenas <carenas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 27 May 2023 06:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 24 Jun 2023 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.