
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Sed question
I have no idea about sed but I would do it with perl like this:
# perl -pe 's/\n/"" . <>/e' yourfile
On Mon, 17 Feb 2003 00:27:52 -0800 (PST)
Matt Gross <mattgross@example.com> wrote:
> I'm looking a quick sed fix to a problem I'm faced
> with. I have a file with many lines of data. What I
> need to do is concatenate the second line to the end
> of the first line. That's all. Does anyone know how
> this can easily be done with sed? Is there an easier
> way to do this other than sed?
>
> Thanks,
>
> Matt
>
--
SAKUMA Junichi <jun@example.com>
Key fingerprint = 199D 03E9 E7C0 CC66 E2D9 AD3F CB2E F76F 8AD9 FC62
Home |
Main Index |
Thread Index