|
I have a 10 gig log file; I currently go through the log looking at specific fields and do stuff with the particular rows based on certain conditions. Each row has 12 columns. The only columns that I need are column 6 and 8. Each column is delimited by “somedata”. So an example row would look like:
“column1” “column2” “column3” “column4” “column5” “column6” “column7” “column8” “column9” “column10” “column11” “column12”
What would be the most optimal way to see if the word “pink” was in column 6 and “blue” was in column 8? Keep in mind that pink or blue could appear anywhere else in this line. |
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
