Code Comments
Programming Forum and web based access to our favorite programming groups.Ekkard Gerlach <egerlach@aiai.de> wrote in message news:<slrncl53aj.iov.egerlach@rex2.linux
burg.de>...
> I want to print three lines without newsline:
>
>
> file:
>
> ----
> aaaa
> bbbb
> cccc
> ----
> dddd
> eeee
> ffff
> ----
> [...]
>
>
>
> I want:
> ----
> aaaa;bbbb;cccc
> ----
> dddd;eeee;ffff
> ----
> [...]
>
>
> How can I delete EOL? - I'm using linux.
>
> thx
> Ekkard
Maybe you could use this and manually add first blank line
awk 'BEGIN{ FS="\n"; RS=""} { print $1";"$2";"$3"\n"}' test1
Jui-hua
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.