thulben@bravo:~ 7$ wc -l file 10 file thulben@bravo:~ 8$ cat file | wc -l 10 thulben@bravo:~ 9$So, to get just the line count, you'd either have to do the cat-pipe thing, or pipe the results to awk.
thor
In reply to Re: Re: Re: Shell scripts?
by thor
in thread Shell scripts?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |