diff options
-rwxr-xr-x | bin/templ/pbfields | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/templ/pbfields b/bin/templ/pbfields index 67343e7..5c6ed66 100755 --- a/bin/templ/pbfields +++ b/bin/templ/pbfields @@ -13,7 +13,7 @@ BEGIN { } COLS = 78 - FS = "\n"; RS = ""; OFS = "="; ORS = "\n"; + FS = "\n"; RS = "" } NF < 2 { next } @@ -34,6 +34,7 @@ arrfield[$1] { } END { + OFS = "="; ORS = "\n"; for (i=1; i<=max; i++) { name = fields[i] if (name in output) print name, output[name] @@ -70,4 +71,4 @@ function wraparray (indent) txt = txt ")" return txt -}
\ No newline at end of file +} |