V
VH
The subject line is not very descriptive but what I am looking for is
a program that process a text file and display only those line that
match certain conditions then allow you to add more conditions to
process against these lines.
For example, the program would open a log file, weed out all the lines
except for those that contain "error", then from these get all that
also contain "critical", then display only those that the first
character in the line is not "a".
It would be OK if you have to state all the filter at once but it
would be nicer to process the file progressively as conditions are
added.
a program that process a text file and display only those line that
match certain conditions then allow you to add more conditions to
process against these lines.
For example, the program would open a log file, weed out all the lines
except for those that contain "error", then from these get all that
also contain "critical", then display only those that the first
character in the line is not "a".
It would be OK if you have to state all the filter at once but it
would be nicer to process the file progressively as conditions are
added.