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.

Full log


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)]

This bug report was last modified 1 year and 361 days ago.

Previous Next


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