summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/pbfields10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/pbfields b/bin/pbfields
index 9846aab..a27948a 100755
--- a/bin/pbfields
+++ b/bin/pbfields
@@ -59,10 +59,7 @@ END {
}
OFS = "="; ORS = "\n";
- for(i = 1; i <= customlen; i++){
- v = customvars[i]
- print "_" v, unk[v]
- }
+
for(i=1; i<=max; i++){
name = fields[i]
if(!(name in output)){
@@ -75,6 +72,11 @@ END {
print name, output[name]
}
}
+
+ for(i = 1; i <= customlen; i++){
+ v = customvars[i]
+ print "_" v, unk[v]
+ }
}
function wraparray (indent)