
01-07-2009
|
|
Registered User
|
|
|
Join Date: Nov 2008
Posts: 5
|
|
perfect - it works!
Quote:
Originally Posted by radoulov
Code:
perl -00ne'
print join " ",
/HOST=([^)]+)\)
\(PORT=(\d+).*?
SID=(\w+)/x, "\n"
' logfile
If the records are not separated by blank lines, remove the 00 option and argument.
|
|