[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-diffutils] bug#39910: Add color to "No newline at end of file"
From: |
Cameron Steffen |
Subject: |
[bug-diffutils] bug#39910: Add color to "No newline at end of file" |
Date: |
Wed, 4 Mar 2020 11:07:33 -0600 |
Hello,
I think it would be an improvement to add color to the line "\ No
newline at end of file" to represent when a newline character at the
end is added or removed.
For example,
1. diff --color <(printf "foo") <(printf "bar")
2. diff --color <(printf "foo") <(printf "bar\n")
3. diff --color <(printf "foo\n") <(printf "bar")
Expected behavior:
1. "No newline..." is not colored, no change
2. "No newline..." from FILE1 is red
3. "No newline..." from FILE2 is green
Thanks,
Cameron Steffen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-diffutils] bug#39910: Add color to "No newline at end of file",
Cameron Steffen <=