Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

by John M. Dlugosz (Monsignor)
on Feb 05, 2003 at 03:52 UTC ( #232723=note: print w/replies, xml ) Need Help??

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';

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://232723]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2021-01-17 12:42 GMT
Find Nodes?
    Voting Booth?