2
1
Every week or so I need to load a file that has millions of lines and start running greps on it. Some greps are positive, some are negative ("-v" flag). Some are grep and some are egrep.
I do it manually today - run a grep, save the results to a file, then run another grep on this file and save to file2, then file3, etc.
Is there some tool that can make my life easier where I can easily manipulate a list of greps, egreps, that the tool will calculate and show the results live? The tool needs to cache the results of previous greps to avoid re-running them all each time.
Um … put the commands that you currently run manually into a script? – Scott – 2012-11-15T23:33:47.130
No, it's highly dynamic. I need to be able to add greps, turn some on/off, etc. – Yon – 2012-11-18T08:41:39.067