Awk Parsing

Hi there

Not to good in awk . So bear with me I would need a one liner

to take a file with this in it

                       name: joe smoe;
                       group: group1;
                   
                       name: linda smith;
                       group: group2;

                       name: mary white;
                       group: group3;  

I would like to look like

             name: joe smoe; group: group1;
             name: linda smith; group: group2;
             name: mary white; group: group3;

Any help would be appreciated!

Try:

awk 'BEGIN { RS="" ; FS="\n" } {$1 = $1""; print } ' inputfile

Jean-Pierre.

That works beautifully thanks JP