summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/macros/addsvnid1
-rwxr-xr-xbin/pbjparse.awk3
2 files changed, 1 insertions, 3 deletions
diff --git a/bin/macros/addsvnid b/bin/macros/addsvnid
index 3d0bca4..b010edc 100755
--- a/bin/macros/addsvnid
+++ b/bin/macros/addsvnid
@@ -1,5 +1,4 @@
#!/usr/bin/awk -f
-##
# Add an SVN $Id$ comment at the end of the comments header
/^#/ { aftercom = 1 }
!/^#/ && aftercom && ! done { print "# $Id$"; done = 1 }
diff --git a/bin/pbjparse.awk b/bin/pbjparse.awk
index bb409af..8d9c3b5 100755
--- a/bin/pbjparse.awk
+++ b/bin/pbjparse.awk
@@ -76,8 +76,7 @@ function parsepbj ( cmd) # cmd is a "local" var
close(cmd)
}
else if ($1 == "|") {
- tcmd = joinfields(2)
- templates[++templcount] = tcmd
+ templates[++templcount] = joinfields(2)
}
else if ($1 ~ /^[ \t]*$/) ; # ignore lines of whitespace
else die("invalid input: " $0)