[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Stumped with a Posix/Perl Question



Moin,

* William Ballard wrote (2004-04-02 00:10):
>Given:
>
>A - 1
>A - 2
>B - 1
>B - 2
>
>what's the simplest command or perl script to print it as:
>
>A (1, 2)
>B (1, 2)
>
>or something equivalent.

Is that an array? Depending on the size and whether it's fixed I would
use either printf or something with join.


Thorsten
-- 
Once upon the time, the music industry had something to offer to us - they
distributed the music we would have never heard without them.
Now, they need laws that prevent us to do ourself what they do for money.

Attachment: pgp1eiLy3fUsu.pgp
Description: PGP signature


Reply to: