Hi again,

How can i count the lines of a text file and store it in a variable. But i
should use the bash, so no perl, python script should it be.

Now i use 
        wc -l < file.txt | read dummy

But it doesn't work :(

Any ideas ?

Regards / thnx
Alex
----------------------------------------------
[EMAIL PROTECTED] 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to