GNU bug report logs -
#34930
diff enhancement request
Previous Next
To reply to this bug, email your comments to 34930 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-diffutils <at> gnu.org
:
bug#34930
; Package
diffutils
.
(Wed, 20 Mar 2019 23:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Aramini <m.aramini <at> verizon.net>
:
New bug report received and forwarded. Copy sent to
bug-diffutils <at> gnu.org
.
(Wed, 20 Mar 2019 23:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I wish to request an enhancement to diff which would add a command line option which takes a regular expression and suppresses differences none of whose lines match the regular expression. Multiple instances of this option can be used to specify multiple regular expressions, which cases differences will be suppressed if none of the lines of the difference match any of the regular expressions. (Such a feature would be more or less the complement of the existing --ignore-matching-lines=regexp (-I regexp) command line option to diff.)
Please let me know if there already is way to accomplish this using existing options to GNU diff and/or by the use of other GNU Diffutils.
-Michael Aramini
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-diffutils <at> gnu.org
:
bug#34930
; Package
diffutils
.
(Thu, 21 Mar 2019 09:30:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 34930 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, 20 Mar 2019 at 23:12, Michael Aramini <m.aramini <at> verizon.net> wrote:
> I wish to request an enhancement to diff which would add a command line
> option which takes a regular expression and suppresses differences none of
> whose lines match the regular expression. Multiple instances of this
> option can be used to specify multiple regular expressions, which cases
> differences will be suppressed if none of the lines of the difference match
> any of the regular expressions. (Such a feature would be more or less the
> complement of the existing --ignore-matching-lines=*regexp* (-I *regexp*)
> command line option to diff.)
>
> Please let me know if there already is way to accomplish this using
> existing options to GNU diff and/or by the use of other GNU Diffutils.
>
The grepdiff tool (from patchutils) might be able to do what you want,
perhaps in conjunction with other tools:
http://cyberelk.net/tim/software/patchutils/
Tim.
*/
[Message part 2 (text/html, inline)]
This bug report was last modified 6 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.