Martin Schulze wrote: > > Paul Miller writes: > > > UN*X doesn't use the ^M character at the end of each line. How can I > > convert between formats? And is there a way to do it automatically when > > a file is copied to/from a dos filesystem? > > cat unixfile |recode latin1:ibmpc > dosfile > cat dosfile |recode ibmpc:latin1 > unixfile >
Also you can try the easier from-todos commands: fromdos file todos file They remove/add ^M in file. Regards -- ------------------------------------------------------------- Antonio Muñoz Roldán mailto:[EMAIL PROTECTED] Unidad de Informatica http://apcien.ciemat.es CIEMAT, Av. Complutense 22 tlfn: 91 346 6365 28040 Madrid fax: 91 346 6005 ------------------------------------------------------------- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .

