Search Results

Search: Posts Made By: Aia
974
Posted By Aia
A modification to yours sed -ne...
A modification to yours
sed -ne 's/\([0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9]\).*\(SELECT.*$\)/\1 \2/p' log.txt

Some others in Perl
perl -ne '/^(.+?)\s.+(SELECT.+$)/ and print "$1 $2\n"'...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy