info/toc: Tidy up last line
mksubj.pl neglects to terminate info/toc's last line with a newline. info-test doesn't care. Tidy up anyway. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
88698d73c7
commit
cd3c362a57
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
#
|
#
|
||||||
# Known contributors to this file:
|
# Known contributors to this file:
|
||||||
# Ken Stevens (when it was still info.pl)
|
# Ken Stevens (when it was still info.pl)
|
||||||
# Markus Armbruster, 2006-2014
|
# Markus Armbruster, 2006-2016
|
||||||
#
|
#
|
||||||
# Usage: mksubj.pl SUBJECT... INFO-FILE...
|
# Usage: mksubj.pl SUBJECT... INFO-FILE...
|
||||||
#
|
#
|
||||||
|
@ -259,6 +259,7 @@ sub write_toc {
|
||||||
open(TOC, ">info/toc")
|
open(TOC, ">info/toc")
|
||||||
or die "Can't open info/toc for writing: $!";
|
or die "Can't open info/toc for writing: $!";
|
||||||
print TOC join("\n", sort @toc);
|
print TOC join("\n", sort @toc);
|
||||||
|
print TOC "\n";
|
||||||
close TOC;
|
close TOC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue