Re: Sed or Awk Question
On Tue, Jan 14, 2003 at 01:42:43PM -0500, Jody Grafals wrote:
>
> Dose anyone know how to replace a line break with a space using sed or
> awk?
I usually do that with tr:
cat file | tr '\012' ' '
Frank
>
> for example
>
> cat
> dog
> goat
> duck
>
> would become
>
> cat dog goat duck
>
> Thanks in advanced
> Jody
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: