]> Sergey Matveev's repositories - schwabrak.git/blobdiff - comment
Explicit empty line separator
[schwabrak.git] / comment
diff --git a/comment b/comment
index f4784bd1111fcdf084a0c454b792c15ca168f6727ced26c848d2d14a1dc079ff..3b4e3de682168683d8f3dfac150655adcb041c35bbb1a52bebaa62d951963f81 100755 (executable)
--- a/comment
+++ b/comment
@@ -13,7 +13,7 @@ comment=issues/$issue/comment
 
 local tmp=`mktemp`
 trap "rm -f $tmp" HUP PIPE INT QUIT TERM EXIT
-$PERL -npe 's/^/# /' < $comment > $tmp
+{ $PERL -npe 's/^/# /' < $comment ; print } > $tmp
 zmodload -F zsh/stat b:zstat
 zstat -A ctimePrev +ctime $tmp
 $EDITOR $tmp