mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 06:06:03 -06:00
Commands used to search and replace:
$ git grep -Ilz '.' | xargs -0 -I '{}' sh -c \
"printf '%s\n' \"\$(cat '{}')\" >'{}'"
The above commands ensure that there is exaclty 1 line terminator at EOF
(rather than 0 or more than 1) on all non-empty text files.
This fixes all of the "new blank line at EOF" errors raised by git:
$ git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904..HEAD |
grep '^[^+]' | cut -f 3 -d : | LC_ALL=C sort | uniq -c
21 new blank line at EOF.
72 space before tab in indent.
4 trailing whitespace.
|
||
|---|---|---|
| .. | ||
| atril.exp | ||
| dig.exp | ||
| eog.exp | ||
| eom.exp | ||
| evince.exp | ||
| galculator.exp | ||
| gedit.exp | ||
| gnome-calculator.exp | ||
| gnome-logs.exp | ||
| gnome-nettool.exp | ||
| gnome-system-log.exp | ||
| gpicview.exp | ||
| leafpad.exp | ||
| mousepad.exp | ||
| pavucontrol.exp | ||
| pluma.exp | ||
| private-lib.exp | ||
| private-lib.sh | ||
| transmission-gtk.exp | ||
| xcalc.exp | ||