I am trying to read each line of the file and then assign some parts of it to variables. A line itself is read as a variable so I need to process a variable input say for cat which seems to be impossible. I tried echoing but it looks like it doesn't do what I need.
This is how it looks like with
cat $LINE | cut -f1
cat $LINE | cut -f4| sed s/\.pdf$/\.html/
Hopefully the problem has been put clearly enough. Any help would be greatly appreciated!