in reply to Extracting data from each line that matches a email address from a Log file (Tab delimited)
see 'perldoc a2p' to perlify this (update: echo "/Auser/ { print $1, $2, $8, $20 }" | a2p -F"<tab-character-here>" to generate a perl script). Or UnxUtils if you just want to use (g)awk on Windows (and use all double quotes above if Windows).awk -F"\t" '/Auser/ { print $1, $2, $8, $20 }' file.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Extracting data from each line that matches a email address from a Log file (Tab delimited)
by Moriarty (Abbot) on Oct 11, 2005 at 00:53 UTC |