perl -F, -lane '$t += $F[1]; }{ print $t'
`..` is called flip-flop in the context describe in the post.
Goatse operator `=()=`:
my $count_vowels =()= /[aeiou]/g;
echo '/a/b/c/def/gh' | perl -lnE'$d{$`}++while/\w\K\b/g }{$,=" ";say keys%d'
/a/b/c/def/gh /a/b/c /a/b/c/def /a/b /a
Other features: http://stackoverflow.com/questions/161872/hidden-features-of...
`..` is called flip-flop in the context describe in the post.
Goatse operator `=()=`:
Here's another usage for `\K`: Output: http://stackoverflow.com/questions/2892126/file-fix-it-codeg...Other features: http://stackoverflow.com/questions/161872/hidden-features-of...