On Sat, Oct 05, 2002 at 10:32:55PM -0400, Paul Van Dalen wrote: > Actually, Paul J., I thought the whole point of this board was to enhance > one's knowledge.
Good. That's what I thought too. > Sure, I could probably get it done with the very limited > knowledge I have in a very convaluted fashion, but I suspected there was a > much easier way to do it. Maybe there is, maybe there isn't. The trouble is that you didn't give us any idea as to how much knowledge you have or what sort of a solution you had come up with -- hence my question. It's pretty hard to help someone enhance their knowledge if you don't know where they are starting from. Now if you had answered my question by saying you just wanted a solution then you would probably have got one, and there would be no need to waste everybody's time explaining it. In fact you do have a solution hidden in all the replies, but be careful, most of the replies are solving the wrong problem. Do you know which answer is correct? Do you you need it to be explained? We have no way of knowing. If you were to ask a question, being as specific as possible, I'm sure there are any number of helpful people here who would help you out. Note that your original post contained no questions, merely a statement. > But thanks for your concern. > > Peckerhead. :-) > "Paul Johnson" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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]