Hi,
perl -ne "print if /gateway/" infile > outfile
This method works great!
But how can search for multiple strings?
E.g. I want to search for lines containing the string 'gateway' and 'TIMESTAMP' and extract the entire line if found.
Please kindly advice, thank you!