Search Results

Search: Posts Made By: ambroze
2,730
Posted By rdrtx1
try fixed: awk -F"|" 'NR==FNR {a[$1]=$0; for...
try fixed:
awk -F"|" 'NR==FNR {a[$1]=$0; for (i=2; i<=6; i++) b[$1,$i]=b[$1,i]=$i; next}
a[$1] {
s=0;
for (i=2; i<=6; i++) {if (!b[$1,$i]) s=1};
if (s==1) {
printf "{ \""; ...
2,730
Posted By rdrtx1
try: awk -F"|" ' NR==FNR {a[$1]=$0; for (i=2;...
try:
awk -F"|" '
NR==FNR {a[$1]=$0; for (i=2; i<=6; i++) b[$1,$i]=b[$1,i]=$i; next}
a[$1] {
s=0;
for (i=2; i<=6; i++) {if (!b[$1,$i]) s=1; continue;};
if (s==1) {
printf "{ \"";
...
4,812
Posted By danmero
Be welcome, you can use the Thanks button on the...
Be welcome, you can use the Thanks button on the right side if the answer is useful and correct.
Showing results 1 to 3 of 3

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