summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-11-22 17:24:59 +0100
committerAlejandro Colomar <alx@kernel.org>2023-11-24 12:22:57 +0100
commit2facf79eefb06e61f7563cdee5f07343cb593dd1 (patch)
treee6d5f74cb1970e35f699a7b7bc18eb164e02d6b6 /scripts
parent897e474ee895b4944e461cfcf81218eb64e2f017 (diff)
scripts/LinuxManBook/prepare_linux_man_book.pl: Don't support trailing white space nor \r
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/LinuxManBook/prepare_linux_man_book.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/LinuxManBook/prepare_linux_man_book.pl b/scripts/LinuxManBook/prepare_linux_man_book.pl
index 1cd560c4e..0a79df4e5 100755
--- a/scripts/LinuxManBook/prepare_linux_man_book.pl
+++ b/scripts/LinuxManBook/prepare_linux_man_book.pl
@@ -127,8 +127,6 @@ sub BuildPage
$inTS=1 if m/\.TS/;
$inTS=0,$inBlock=0 if m/\.TE/;
- s/\r$//; # In case edited under windows i.e. CR/LF
- s/\s+$//;
next if !$_;
# s/^\s+//;