I wanted to grep -v a text file, but the file was too long, so I did the standard thing of piping to xargs grep, but the text file contains a list of file names and when piped to xargs, it tries to read the files rather than treating the output as text and running grep on the text - any suggestions?
My first thought was to use sed to insert something at the beginning of each line but was wondering if there was a simpler method.
My first thought was to use sed to insert something at the beginning of each line but was wondering if there was a simpler method.