I have a list of files in a text file abc.txt .
I have to read the nth line from the file and open the file using vim .
I have done this but the file at nth line doesn't open :-
sed -n 4p abc.txt | vim -
Trying to get 4th line from abc.txt and opening it using vim .But the output I get is content of file at that particular line number :-
