]> git.donarmstrong.com Git - wannabuild.git/blobdiff - bin/keep-latest
sync with reality (all changes from /org/wanna-build and currently live)
[wannabuild.git] / bin / keep-latest
index 1aedc49959782175e9ca6815561d449c77484c40..788dcc5eb4185cc35d87c1e4e726ea721fcaf272 100755 (executable)
@@ -48,9 +48,8 @@ while (<>) {
                $data{$key} = $_;
        }
 }
-
 foreach (values %data) {
-       s/\n*$/\n\n/;# always one empty line to separate stanzas
+       chomp; $_ .= "\n\n";
        print;
 }