Script, Reading a file, When end of file?
Hello everybody,
I am a new Linux user, I am creating a small script to read a file and count the number of lines that it has, so I do bucle read while is not the end of the file, but I do not know how to find out
when the end of the file has been reach.
Can somebody help me?
Thanks.
Elias.
|