in reply to newlines for windows from unix

Here is the code for a filter that should do the trick.
#! /usr/local/bin/perl -w use IO::File; while ($string = <STDIN>) { chomp($string); STDOUT->print("$string\r\n"); }
Of course, this begs the question of why, once you have a file that is not contaminated by newlines you would want to add them for the sake of Notepad, but I will leave that discussion to others... :-)

Brian - a.k.a. DrSax