bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug#220292: diff -c: blanks added that didn't exist in the files diffed


From: Dan Jacobson
Subject: Bug#220292: diff -c: blanks added that didn't exist in the files diffed
Date: Wed, 12 Nov 2003 02:07:46 +0800

Package: diff
Version: 2.8.1-4
Severity: normal
File: /usr/bin/diff

# Blanks can be seen to be added:
f=/usr/share/doc/debian/bug-maint-mailcontrol.txt
sed 's/close bugnumber/&  **Deprecated**/' $f|diff -c - $f|sed 's/ $/<--blanks 
added!/'
# That didn't exist in the file:
sed -n 's/ $/<--blanks added!/p' $f
$ ls -l
I trust you have that file handy ... 9116 2002-12-10 bug-maint-mailcontrol.txt






reply via email to

[Prev in Thread] Current Thread [Next in Thread]