Skip to content

perl

remove last newline from file

perl -pi -e 'chomp if eof' filename.txt