On Monday 08 November 2004 19:00, Eric Dickner wrote: > > --- David Jardine <[EMAIL PROTECTED]> wrote: > > > If you're putting something on to a windows machine, > > wouldn't > > mcopy automatically use the dos CR-LF? > > I was trying to remove the CR-LF so the /etc/hosts > file lookup wouldn't be messed up. I never did get > "mcopy -T" (or any option or combination of options) > to do it. Instead I used the KDE file manager as root > (something I ususally use "nano" and a shell) and cut > and paste. It was smart enough to strip them off.
Wouldn't $ tr '\r\n' '\n' < dosfile > unixfile do it? -- richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]