I have an input (let\'s say a file). On each line there is a file name. How can I read this file and display the content for each one.
You'll probably want to handle spaces in your file names, abhorrent though they are :-)
So I would opt initially for something like:
pax> cat qq.in normalfile.txt file with spaces.doc pax> sed 's/ /\\ /g' qq.in | xargs -n 1 cat <> <> pax> _