I have a file with a list of lines I want to read from another file. I want to output those lines to a utility (grep
) that lets me read the entire line and pull information from it. The file with the lines looks like this:
cat input.txt
2088
2089
2095
2096
For some reason I am stuck on this. I know sed
can take a specific line number as an argument, but I can't figure how to get this into a variable to feed to it.
Best Answer