diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-17 18:25:34 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-02-19 20:57:12 -0300 |
commit | 3812c139a6580113572f68ea1a8fd277d410777c (patch) | |
tree | 52b196e95a9ef510a1dc4c3648610ecb07cbeadb /etc/profile-m-z | |
parent | RELNOTES: add build and docs items (diff) | |
download | firejail-3812c139a6580113572f68ea1a8fd277d410777c.tar.gz firejail-3812c139a6580113572f68ea1a8fd277d410777c.tar.zst firejail-3812c139a6580113572f68ea1a8fd277d410777c.zip |
Fix EOL at EOF
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.
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r-- | etc/profile-m-z/pdflatex.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/presentations18.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/tex.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/textmaker18.profile | 1 | ||||
-rw-r--r-- | etc/profile-m-z/textmaker18free.profile | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/etc/profile-m-z/pdflatex.profile b/etc/profile-m-z/pdflatex.profile index caf980d4d..ddf6d0990 100644 --- a/etc/profile-m-z/pdflatex.profile +++ b/etc/profile-m-z/pdflatex.profile | |||
@@ -9,4 +9,3 @@ private-bin pdflatex | |||
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include latex-common.profile | 11 | include latex-common.profile |
12 | |||
diff --git a/etc/profile-m-z/presentations18.profile b/etc/profile-m-z/presentations18.profile index 65d684c40..ac844d1af 100644 --- a/etc/profile-m-z/presentations18.profile +++ b/etc/profile-m-z/presentations18.profile | |||
@@ -8,4 +8,3 @@ include globals.local | |||
8 | 8 | ||
9 | # Redirect | 9 | # Redirect |
10 | include softmaker-common.profile | 10 | include softmaker-common.profile |
11 | |||
diff --git a/etc/profile-m-z/tex.profile b/etc/profile-m-z/tex.profile index f56c3038e..c850cf5c3 100644 --- a/etc/profile-m-z/tex.profile +++ b/etc/profile-m-z/tex.profile | |||
@@ -9,4 +9,3 @@ private-bin tex | |||
9 | 9 | ||
10 | # Redirect | 10 | # Redirect |
11 | include latex-common.profile | 11 | include latex-common.profile |
12 | |||
diff --git a/etc/profile-m-z/textmaker18.profile b/etc/profile-m-z/textmaker18.profile index e5a4b6454..8284df791 100644 --- a/etc/profile-m-z/textmaker18.profile +++ b/etc/profile-m-z/textmaker18.profile | |||
@@ -8,4 +8,3 @@ include globals.local | |||
8 | 8 | ||
9 | # Redirect | 9 | # Redirect |
10 | include softmaker-common.profile | 10 | include softmaker-common.profile |
11 | |||
diff --git a/etc/profile-m-z/textmaker18free.profile b/etc/profile-m-z/textmaker18free.profile index 0e918bf0a..ad945ca55 100644 --- a/etc/profile-m-z/textmaker18free.profile +++ b/etc/profile-m-z/textmaker18free.profile | |||
@@ -8,4 +8,3 @@ include globals.local | |||
8 | 8 | ||
9 | # Redirect | 9 | # Redirect |
10 | include softmaker-common.profile | 10 | include softmaker-common.profile |
11 | |||