> 
> S)ubject: Re: tool/method to convert DOS line endings to UNIX line endings
> Any ideas in re to subject ?

First of all, please put all relevant information in the body of your
message.  It makes it very difficult to read and impossible to quote
things that are only mentioned in the subject line.  This is a matter
of practicallity as well as courtesy.

Two possibilities:

Are you coming from a DOS place to a UNIX place or are the files
already in your UNIX place and you need to fix them there?

If you are moving th efiles, use ftp in ASCII mode.  It will then
do the conversion for you.  After you make the ftp connection and
before GETting or PUTting the file, type ASCII to select ASCII mode.

If the file is already on FreeBSD UNIX then use 'tr(1)'.
Presuming your text file is called dosfile and you convert it to
a file named unixfile for example type:

      tr -d "\r" < dosfile > unixfile

////jerry

> 
> /thomas
> 
> --
> Thomas von Hassel
> DarX @ irc
> darxmac @ AIM/iChat
> Powered by inkwell...!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to