Re: [SLUG] Conversion question

From: Chuck Hast (wchast@gmail.com)
Date: Thu Jan 18 2007 - 18:17:36 EST


On 1/18/07, Eben King <eben01@verizon.net> wrote:
> On Thu, 18 Jan 2007, Chuck Hast wrote:
>
> > Not trying to beat a dead horse, but I also need to send out a single CR
> > at the end of line. I have tried to replace the \r with a \n in the sed
> > line but it does not work.
>
> So you have
>
> l i n e 1 \n
> l i n e 2 \n
>
> (Linux style) and you want
>
> l i n e 1 \r
> l i n e 2 \r
>
> (Mac style)?
>
> Then
>
> tr '\n' '\r' < infile > outfile
>
> s

That was the one that finished that off, just stuck it in a little
file, called it
and it worked. Tnx Eben... Tnx all of you.

-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:41:32 EDT