I'm a little tired today, as I haven't slept much lately...
Marty, Kiko and Simon gave great talks. I'm glad we decided to do this... and I hope we'll do more and better as the years go by
Meanwhile, I left Marty at the airport with the challenge of writing a program in the least amount of characters. If you care to give it a try,
Input:
root:admins
administrator:admins
me:users
Output:
admins: root, administrator
users: me
I'll let you figure it out by yourselves
Will this do? (Score:1)
just pipe the input to the program.... I assume someone has a shorter way.
Re:Will this do? ( got lost in HTML hell) (Score:1)
An even shorter one (84 chars) (Score:1)
Re:An even shorter one (84 chars) (Score:1)
I'm thinking about proposing a talk for YAPC::Europe on this subject
Re:An even shorter one (84 chars) (Score:1)
That is shorter and still a valid solution. However, if it should handle any number of <user>:<group> lines it wouldn't count.. right?
Care to post your solution?
65 chars (Score:1)
/:/;$_{$'.$&}.=" $`,"}{map{s/,$/
/;print}%_
Maybe I could propose a talk about this for YAPC::Europe (a talk on the several stuff I use here, that is)... I think I will...
Oh, but I'm sure some of the guys can work out a way of saving some more characters
Re:65 chars (I'm now at 72) (Score:1)
Re:65 chars (I'm now at 67) (Score:1)