Deal with newline at the end of the module list.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84319 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ben Laurie
1999-12-19 16:36:49 +00:00
parent c0dd97c44c
commit 2e7317cc40

View File

@ -3,7 +3,14 @@ BEGIN {
modules[n++] = "core"
pmodules[pn++] = "core"
}
{ modules[n++] = $1 ; pmodules[pn++] = $1 }
{
modules[n] = $1;
pmodules[pn] = $1;
gsub("\n","",modules[n]);
gsub("\n","",pmodules[pn]);
++n;
++pn;
}
END {
print "/*"
print " * modules.c --- automatically generated by Apache"