input.txt is a file that contains filenames that have been piped into it from an external program.
input.txt has the following in it
I would like to perform an 'rm' command on the filenames contained in input.txt
So instead of potential hours of work deleting each individual filename contained in input.txt, I would like to automate this task by a simple bash script or using another program like awk.
I have toyed with using the 'exec' command in bash and contemplated that there must be an easier way using awk or another such program.
anybody got a quick one or two liner that would demonstrate to me how I would accomplish this?