http://qs321.pair.com?node_id=366842


in reply to Perl losing, unfairly

Actually, before you get you panties in a twist, notice that he is not adding the whole invocation to the count, only the -le characters. Thus his count isn't off, and replacing the -le with ,"\n" is actually longer, and ,$/ is a wash.
Actually looking through the examples he seems to be pretty non-biased. All the examples use the same whitespacing between tokens, and they all seem to be written efficiently with being obsfucated. My only question is whether sed and awk can be considered part of shell. I.E. if shell can use sed and awk in it's scripts, couldn't some of the other languages get a win by using system to call out to sed or awk (or Perl)?


-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."