Original Post
Hi all, I'm writing a bash script and I have a file that is just a long list of file names, with one file on each line. I would like to select an individual line and return the filename on that line (and then proceed to delete the line from the file). I'm still learning about shell programming and I'm not sure if there is a simple command out there to do this or if its going to require some involved programming. If anyone knows of a simple, elegant way to do this, I'd really appreciate the help! Thanks a lot!