summaryrefslogtreecommitdiffstats
path: root/bin/templ/pbfields
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2011-08-18 15:57:41 +0200
committerJustin Davis <jrcd83@gmail.com>2011-08-18 15:57:41 +0200
commit84e8e5fc1ecaa243395bf0f499e60837bbe15b5a (patch)
treec15ae0a2b4d5c264a92cb402691c4ccdcc670c3c /bin/templ/pbfields
parent29683fb856dcf8c47722f201129ed202e2332d73 (diff)
downloadgenpkg-84e8e5fc1ecaa243395bf0f499e60837bbe15b5a.tar.gz
genpkg-84e8e5fc1ecaa243395bf0f499e60837bbe15b5a.tar.xz
Move OFS and ORS to END.
Diffstat (limited to 'bin/templ/pbfields')
-rwxr-xr-xbin/templ/pbfields5
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
+}