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
