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

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

turning off diff's "No newline at end of file" warning


From: jidanni
Subject: turning off diff's "No newline at end of file" warning
Date: Tue, 24 Mar 2009 04:59:09 +0800

Looking for a way to not be warned "\ No newline at end of file",
though one reads
(info "(diff)Incomplete Lines")
which leads one to try
(info "(diff)White Space")
still, the warning can't be turned off
$ diff -bw */使用說明:說明
1c1
< 本網站操作與[[wikipedia:zh:首頁|維基百科]]同。
\ No newline at end of file
---
> 本網站操作與[http://zh.wikipedia.org/wiki/首頁 維基百科]同。
\ No newline at end of file
Only -n seems to turn it off. But I don't want to use -n.
One could use 2>&-, but that is overkill.




reply via email to

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