summaryrefslogtreecommitdiff
path: root/bin/ifnames.in
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2000-11-02 17:03:32 +0000
committerPavel Roskin <proski@gnu.org>2000-11-02 17:03:32 +0000
commit48f158e039f5fe614357ab8e61ed02fbfb91d596 (patch)
tree43dc2dcd4ac13d7ff91b02a74647151cde529bc0 /bin/ifnames.in
parent7bb9bdc360786b905abaf839a00acb8da5cfd173 (diff)
downloadautoconf-48f158e039f5fe614357ab8e61ed02fbfb91d596.tar.gz
* ifnames.sh: Put the opening brace on the same line with
patterns. Reported by Paul Martinolich. * tests/tools.at (AWK portability): Check ifnames. (ifnames): New test for ifnames. * THANKS: Updated.
Diffstat (limited to 'bin/ifnames.in')
-rw-r--r--bin/ifnames.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/ifnames.in b/bin/ifnames.in
index 912cbfcc..4f16d1f8 100644
--- a/bin/ifnames.in
+++ b/bin/ifnames.in
@@ -103,8 +103,7 @@ $AWK '
}
}
- /^[\t ]*#/
- {
+ /^[\t ]*#/ {
if (sub(/^[\t ]*#[\t ]*ifn?def[\t ]+/, "", $0))
{
sub(/[^A-Za-z_0-9].*/, "", $0)
@@ -125,8 +124,7 @@ $AWK '
}
}
- END
- {
+ END {
for (sym in files)
{
print sym files[sym]