Here's yet another golf variation, provided there's only one filename and that's a real filename (not a glob or something you can give to the two-arg open):
exec wc,-ll,pop
In reply to Re: Count number of lines in a text file
by ambrus
in thread Count number of lines in a text file
by Scott7477
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |