tag:blogger.com,1999:blog-3195885170348729753.post406544951283664188..comments2023-11-29T17:45:50.424+01:00Comments on Java mon amour: Parse log files in WLST, print text between 2 stringsUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3195885170348729753.post-51564683955290940742012-10-05T22:02:15.878+02:002012-10-05T22:02:15.878+02:00IMHO the FIRST quality of code is READABILITY. Per...IMHO the FIRST quality of code is READABILITY. Perl, awk, sed, are all very powerful but totally unreadable unless you know them very well. vernettohttps://www.blogger.com/profile/00289134594764720847noreply@blogger.comtag:blogger.com,1999:blog-3195885170348729753.post-32759121511817436382012-10-05T21:41:54.896+02:002012-10-05T21:41:54.896+02:00Or you could try this: perl -nle 'print $1 if ...Or you could try this: perl -nle 'print $1 if /\s+pool\s+"(.*?)":\s+ORA-04031/' /path/to/logfileAnonymousnoreply@blogger.com