]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
scripts/LinuxManBook/prepare_linux_man_book.pl: Don't support trailing white space...
authorAlejandro Colomar <alx@kernel.org>
Wed, 22 Nov 2023 16:24:59 +0000 (17:24 +0100)
committerAlejandro Colomar <alx@kernel.org>
Fri, 24 Nov 2023 11:22:57 +0000 (12:22 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
scripts/LinuxManBook/prepare_linux_man_book.pl

index 1cd560c4ea8a1290aec7c13d2dd594dc81d94563..0a79df4e50588f2a8c4273bf3b60f0333261401b 100755 (executable)
@@ -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+//;