Search Results

Search: Posts Made By: RudiC
2,338
Posted By RudiC
awk 'FNR == NR {T[$2] = $0; next} $0 = $0 "|"...
awk 'FNR == NR {T[$2] = $0; next} $0 = $0 "|" (T[$NF]?T[$NF]:"Notfound")' FS="," file1 file2
10.62.75.120, portIndex: 247 portName: slot12...
2,338
Posted By RudiC
No surprise if you change the structure of your...
No surprise if you change the structure of your files. Get rid of the FS=" " and report back.
2,338
Posted By RudiC
What input has changed? What should the output...
What input has changed? What should the output look like?
Give he whole picture!
2,338
Posted By RudiC
When writing ROW you mean column or field, don't...
When writing ROW you mean column or field, don't you? How about
awk 'FNR == NR {T[$2] = $0; next} $0 = $0 "|" (T[$NF]?T[$NF]:"Notfound")' FS="," file1 FS=" " file2
Switch1, 381 12 45 F-Port...
2,338
Posted By RudiC
First thing that caught my eyes is there's no...
First thing that caught my eyes is there's no field 10 in any file.
Showing results 1 to 5 of 5

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