Hey guys, Thanks a ton for the help!!! it solved my problem...
Thanks, Nagesh. ----- Original Message ----- From: "Martin Moss" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 3:09 PM Subject: RE: [Perl-unix-users] ^M characters The ^M also occurs if you ftp an ascii file using Binary method...... > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Craig B. Nakata > Sent: Wednesday 24 April 2002 06:24 > To: 'Nagesh Reddy'; [EMAIL PROTECTED] > Subject: RE: [Perl-unix-users] ^M characters > > > Nagesh, > > The ^M is a carriage return it come from Windows. Windows uses a > carriage return new line (CR/LF) for an end of line. On unix the end of > line is a new line (LF). To get rid of the CR you can do a "dos2unix" > on the attachment, if you want to use perl you can do a substitution on > the carriage return (e.g., s/^M//g). > > Hope this helps, > Craig > > > -----Original Message----- > > From: [EMAIL PROTECTED] > [mailto:perl-unix- > > [EMAIL PROTECTED]] On Behalf Of Nagesh Reddy > > Sent: Tuesday, April 23, 2002 3:11 AM > > To: [EMAIL PROTECTED] > > Subject: [Perl-unix-users] ^M characters > > > > Hi all , > > > > I have a problem after detaching a attachment from a e-mail , > > I am able to see that the detached attachment contains ^M > > characters appended to each line. > > Can anyone tell me how do i get rid of the ^M characters > > in the file detached from a e-mail. > > > > Thanks, > > Nagesh. > > > > > > _______________________________________________ > Perl-Unix-Users mailing list > [EMAIL PROTECTED] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. *****************************************************************************