Re: Counting number of lines in a text file
In article <cistron.Pine.LNX.3.96.990203130833.4683A-100000@laranjeiras08.lci.ufrj.br>,
Diego Delgado Lages <dlages@laranjeiras08.lci.ufrj.br> wrote:
>
>cat file-name | wc -l
I always wonder why people insist on doing
cat file | otherprogram
instead of just
otherprogram < file
Which is exactly the same, but saves processing time. Even DOS people
do this, while DOS doesn't even multitask .. cat file | otherprogram
is the same as cat file > tmpfile; otherprogram < tmpfile. Oh well
I need coffee I think
Mike.
--
Indifference will certainly be the downfall of mankind, but who cares?
Reply to: