in reply to Re: Re: Re: Shell scripts?
in thread Shell scripts?

Or to reduce unnecessary forking you can just redirect STDIN:

wc -l <file

/J\