On unix, in vi: :1,$s/<ctrl-V><enter>// will delete all the dos '\r' line endings. That's Ctrl-V to get special char mode, <Enter> which ends up looking (here, anyway) like Ctrl-M. For perl: http://www.perlmonks.org/index.pl?node_id=36555 or (same page, only faster ;-): http://perlmonks.thepen.com/36555.html
I believe, though, apache, and perl etc will not have a problem reading scripts w/ the 'wrong' ending. a Andy Bach, Sys. Mangler Internet: [EMAIL PROTECTED] VOICE: (608) 261-5738 FAX 264-5030 " ... even if you're mediocre/decent at perl [the cmecf] code is pretty confusing in certain areas ..." CB _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs