As a very quick hack to allow my Windows users read Unix text files with Notepad, I ran the text files through:

use warnings;
use strict;

my @allfiles = glob "*.txt *.dat";

system('perl -pi.bak -e "chomp; $_ .= \"\n\"" ' . "$_")
	foreach (@allfiles);

Monstrosity, LOL :-)

Comments

comments powered by Disqus