I have a file 'filelist' that contains the following lines:
text1.txt
text2.txt
text3.txt
I am looking for a command line invocation that opens the 3 files in vim. I tried the following:
$ cat filelist | vim -
and
$ vim < cat filelist
but those do not yield the desired result.
vim $(cat filelist)
. – vonbrand Apr 12 '13 at 14:01