[EMAIL PROTECTED]: > I have to process some files with more than 100000 lines. At the end > of each line is the sign ^M. How could I remove it.
DOS2UNIX(1) NAME dos2unix - convert ASCII files from DOS's CR/LF to UNIX's LF SYNOPSIS dos2unix [-p] [file ...] DESCRIPTION When called without parameters, the dos2unix utility reads from the standard input, transforming CR/LF pairs into an LF character and writing it to the standard output. If there's at least one filename specified, the file operands are processed in command line order, reading from the files specified and overwriting them with the converted version. If the [-p] option is given, both the access and modification time of the original file are preserved. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>