in reply to Re: Re: Shell scripts?
in thread Shell scripts?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Shell scripts?
by gellyfish (Monsignor) on Apr 30, 2004 at 12:09 UTC | |
|
Re: Re: Re: Re: Shell scripts?
by pelagic (Priest) on Apr 30, 2004 at 12:37 UTC |