Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Heresy = Re: perl

by arturo (Vicar)
on Nov 10, 2000 at 01:57 UTC ( #40830=note: print w/ replies, xml ) Need Help??


in reply to perl

Or, on *NIX systems,

shell prompt>grep -c '^[:blank:]*$' foo.bar

-c tells grep to merely count lines which match the pattern (0 or more blanks between the beginning and end of the line)

Philosophy can be made out of anything. Or less -- Jerry A. Fodor


Comment on Heresy = Re: perl
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-08-22 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (145 votes), past polls