]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
bin/remove-continuation.pl: read from STDIN only
authorSimon Ruderich <simon@ruderich.org>
Fri, 19 Sep 2014 09:51:45 +0000 (11:51 +0200)
committerSimon Ruderich <simon@ruderich.org>
Wed, 24 Sep 2014 11:31:01 +0000 (13:31 +0200)
bin/remove-continuation.pl

index df36d332a4d1fc9d05d848325f61db0c01baeb26..3deb7d7d376b4d9980083b3bf2a0095fef4486f8 100755 (executable)
@@ -24,7 +24,7 @@ use warnings;
 
 
 my $continuation = 0;
-while (<>) {
+while (<STDIN>) {
     # Remove leading whitespace if the last line was a line continuation.
     if ($continuation) {
         s/^\s+//;