|
| A Newbie question Fra : Henry |
Dato : 21-01-02 18:11 |
|
Hi all,
When I transfer text files from Windows to UNIX, I always get ^M at end
of each line. How can I get rid of this guy?
Thanks,
Henry
| |
Klaus Alexander Seis~ (21-01-2002)
| Kommentar Fra : Klaus Alexander Seis~ |
Dato : 21-01-02 18:40 |
|
Henry skrev:
> When I transfer text files from Windows to UNIX, I always get ^M
> at end of each line. How can I get rid of this guy?
$ tr -d '\r' <oldfile >newfile
// Klaus
--
><> vandag, môre, altyd saam
| |
Henry (21-01-2002)
| Kommentar Fra : Henry |
Dato : 21-01-02 19:37 |
|
Thank you, Klaus
"Klaus Alexander Seistrup" <spamtrap@magnetic-ink.dk> wrote in message
news:slrn+a7732125-3cb8-43a3-a4cd-ec6c0909f4b1@hq.szn.dk...
> Henry skrev:
>
> > When I transfer text files from Windows to UNIX, I always get ^M
> > at end of each line. How can I get rid of this guy?
>
> $ tr -d '\r' <oldfile >newfile
>
>
> // Klaus
>
> --
> ><> vandag, môre, altyd saam
| |
|
|