Skip to content

Commit 0c8359b

Browse files
author
Ralph Castain
committed
Avoid adding blank lines when purging tabs
Signed-off-by: Ralph Castain <[email protected]>
1 parent 2bb4cff commit 0c8359b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/purge-tab-indents.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ sub quiet_print {
8989

9090
my @expanded_lines = expand(@lines_with_tabs);
9191
open(TEMP, ">temp.txt");
92-
print TEMP join("\n",@expanded_lines),"\n";
92+
print TEMP @expanded_lines;
9393
close(TEMP);
9494
system("mv temp.txt $f");
9595
}

0 commit comments

Comments
 (0)