On Sat, Oct 05, 2002 at 07:02:09PM -0400, Paul Van Dalen wrote:

> Hi Gang,
> 
> Given this input:
> 
> 222    xxx    JJJJJ
> 222    www    DD
> 222    cc    ffFFF
> 909    eee    EEEE
> 909    FFF    kkkk
> 909    jjjjj    KKKK
> 888    JJJ    HHHH
> 888    HHH    JJJJ
> 
> I'd like to split the input, group it by the first column, and, for that
> group, print out a concatenated second column.  The output should look
> thusly:
> 
> 222    xxx;www;cc
> 909    eee;FFF;jjjjj
> 888    JJJ;HHH
> 
> Many thanks,

Well, it could be a one liner.  Which part is causing you problems, or
did you just want someone to do it for you?

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to