Dave, dos2unix isn't part of the Perl distribution. My version of dos2unix (installed on solaris) lives in /bin. If for some reason you don't have an installed version of dos2unix try this web page to do your conversion:
http://www.iconv.com/dos2unix.htm Cheers, Carter. > -----Original Message----- > From: David D Miller [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 07, 2004 3:06 PM > To: Carter Thompson > Cc: [EMAIL PROTECTED] > Subject: RE: The old \015 problem > > > > > > > Carter: > > Where do I find this wonderful little tool? I looked for it > on DOS and Unix without any luck. Not part of the perl > delivery I guess. > > dave. > > > > > A really easy way is to use "dos2unix". It'll take care of the CRs. > > Carter. > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > On Behalf > > Of David D Miller > > Sent: Thursday, October 07, 2004 2:35 PM > > To: [EMAIL PROTECTED] > > Subject: The old \015 problem > > > > > > > > > > > > > > Folks > > > > I just copied (using ftp in binary mode) my perl scripts > from DOS to > > Unix and got caught on the carriage return problem: When I try to > > execute the DOS scipt in Unix, I get the following > > > > [mdscom]/usr/people/dmiller/WWW/cgi> perl wtdl.pl -w > > Illegal character \015 (carriage return) at wtdl.pl line 5. > (Maybe you > > didn't strip carriage returns after a network transfer?) > > > > Good message. Right on target. The question is, how do I remove > > those pesky CRs? > > > > dave. > > > > _______________________________________________ > > Perl-Win32-Users mailing list > > [EMAIL PROTECTED] > > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs > > > > > > _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs