I have two files, one file is my data, and the other file is a list of line numbers that I want to extract from my data file. Can I use awk to read in my lines file, and the
while read line;do echo $(sed -n '$(echo $line)p' Datafile.txt); done < numbersfile.txt