perl -ne "print if /gateway/ && /TIMESTAMP/" infile > outfile
In reply to Re^3: search and extract lines which contain a word
by ikegami
in thread search and extract lines which contain a word
by m@cky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |