From f1f8b968d0101237c24bc9a91c67f0f98b112aec Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Thu, 8 Sep 2011 09:08:32 -0400 Subject: Minor aesthetic improvements. --- bin/macros/addsvnid | 1 - bin/pbjparse.awk | 3 +-- 2 files changed, 1 insertion(+), 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) -- cgit v1.2.3-24-g4f1b