-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 > #!/usr/bin/awk -f > > BEGIN { maxcols = 0; } > > { > for (i=1;i<=NF;++i) > dataset[NR,i] = $i; > if (maxcols<NF) > maxcols = NF; > } > > END { > for (i=1;i<=maxcols;++i) { > for (j=1;j<NR;++j) > printf("%s\t", dataset[j,i]); > printf("%s\n", dataset[NR,i]); > } > } thanks, it's perfect and (contrary to your statement) more readable then the ruby code :) at least for me.
best regards, - -- Lubos [EMAIL PROTECTED]" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEYfPf5EqL/d2IfcARA0F5AKCAraco39LvavCn8KCVp/ib73GONACdGC5e hLDOskTfeP20mU5q9xH+YX4= =txdL -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]