diff options
Diffstat (limited to 'libtomcrypt/fixupind.pl')
-rw-r--r-- | libtomcrypt/fixupind.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libtomcrypt/fixupind.pl b/libtomcrypt/fixupind.pl new file mode 100644 index 0000000..543ae96 --- /dev/null +++ b/libtomcrypt/fixupind.pl @@ -0,0 +1,11 @@ +open(IN,"<crypt.ind"); +open(OUT,">crypt.ind.tmp"); +$a = <IN>; +print OUT "$a\n\\addcontentsline{toc}{chapter}{Index}\n"; +while (<IN>) { + print OUT $_; +} +close OUT; +close IN; +system("mv -f crypt.ind.tmp crypt.ind"); + |