Search Results

Search: Posts Made By: RudiC
490
Posted By RudiC
Good grief! What a heck of a problem. We have a...
Good grief! What a heck of a problem. We have a "race condidtion" of what pattern occurs first in the pattern file and what occurs first in the string. When found a pattern, and reduced the string,...
490
Posted By RudiC
That's much clearer, thank you. How about (adding...
That's much clearer, thank you. How about (adding the new fields at the end, so we can print the format info as we go through the file)
awk '
FNR == 1 {FILENR++
}

FILENR...
490
Posted By RudiC
So you want to print out info ACROSS lines, i.e....
So you want to print out info ACROSS lines, i.e. in line 1 should appear info about field 4 of line 1 and 2, and in line2 there should be info on field 5 of line 1 and 2? What if more lines will...
490
Posted By RudiC
Hmmmm - not quite clear yet when you want the...
Hmmmm - not quite clear yet when you want the dots, and when the printf format strings, or when both... See how far this gets you:



awk '
FNR == 1 {FILENR++
}
FILENR...
490
Posted By RudiC
This is not easy a request, both to understand...
This is not easy a request, both to understand and to implement. I have understood that you want to search two input fields, $4 and $5, for date/Ttime format descriptors, and append their metadata to...
Showing results 1 to 5 of 5

 

Featured Tech Videos

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