in reply to Re: what's this loo code? (*slurp*)
in thread what's this loo code?

I guess the comments throw off my expectations, too. Since when does "wc" stand for "number of lines in a file"? The dictionary says it's a British toilet (a.k.a. "the loo") and it could be an acronym for word count, so I was trying to figure out how that was counting words.

  • Comment on Re: Re: what's this loo code? (*slurp*)

Replies are listed 'Best First'.
Re: Re: Re: what's this loo code? (*slurp*)
by pfaut (Priest) on Feb 05, 2003 at 04:11 UTC

    The wc utility counts words, lines, and characters in a file. wc -l tells wc to only display the number of lines.

    --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';