Hi I am having problems with displaying text from a file screen by screen, so that each screen only shows one line from the file, and the user must press a button to go to the next screen.
This is my script:
cat test.txt | while read LINE
do
echo $LINE|more
done
Please tell me what is wrong with this, if you can. I think it has something to do with the more command, but am very new to Unix......
This is my script:
cat test.txt | while read LINE
do
echo $LINE|more
done
Please tell me what is wrong with this, if you can. I think it has something to do with the more command, but am very new to Unix......