Search Results

Search: Posts Made By: Akshay Hegde
1,741
Posted By Akshay Hegde
Try this awk '/[^-]-[^-].*:/{s = $1; next }...
Try this

awk '/[^-]-[^-].*:/{s = $1; next } NF==5 && $1~/[0-9]+/{print $2,s,$NF}' infile
1,741
Posted By Akshay Hegde
[akshay@localhost tmp]$ cat infile [...
[akshay@localhost tmp]$ cat infile
[ U-UU-YRYT-NOD-6002 ] GETA-TILL-INF;

U-UU-YRYT-NOD-6002 2015-05-14 THU 19:44:10
C2221 RETRIEVE TILL INFORMATION : COMPLD
...
Showing results 1 to 2 of 2

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