Originally Posted by dahr
I need a script that could read and print the 5th, 10th, 15th... word of any file.
Guess for what? Can it be done? Yes, easily. I'd also guess this is homework.....check out one of the numerous shell-script tutorials that can be found on Google.
If you have a script that has a problem, post it with the error message(s), and we'll be glad to help.