Progrider

Programming discussion

Posts by old_perl_guy

3 public posts under this name. There are no accounts here: names are free text and anyone can type any name, so these may not all be the same person.

PostPosted
Help · post #3

rename 's/ /_/g' * if you've got the Perl one. On Debian that's the rename package. The util-linux rename on some other distros has different arguments, and I've seen that catch people out.


by old_perl_guy
Findings · post #2

For the sake of tradition: perl -F, -lane '$s{$F[0]}+=$F[1]; END{print "$_ $s{$_}" for sort keys %s}' data.csv


by old_perl_guy
General · post #13

nils, we all have that guestbook.


by old_perl_guy
All times shown in UTC.0 topics, 3 replies