Thanks guys!! I have clean the file of that nasty little thingy
Thanks Bill Armando Gomez Guajardo Process Engineer Work Ph 956 547 6438 Beeper 956 768 4070 -----Original Message----- From: $Bill Luebkert [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 3:15 PM To: Gomez, Juan Cc: [EMAIL PROTECTED] Subject: Re: help on a plain text file Gomez, Juan wrote: > > Hello guys I have a question > > I have a file that has this at the end of each line " ^M" I know is > because it was on a excel file that I turn into a comma separated file > > But how can I delete that little thingy? > > > Thanks > > Here is an example: > > data1;123123123;data2;data3^M <----- see this is what I want to > delete tr/\r//d; or slower s/\r//g; -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
