That'll turn every \n in the stream into \n\n, not add a newline to
the end of the file. Don't you mean:
perl -0666 -pe 's/$/\n/'
Or, more efficiently:
perl -ple 'END { print }'
?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html