diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-01-11 02:22:00 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-01-11 02:22:00 +0000 |
commit | f3b834d5366011e1e4b340c7acdbd582c7e50689 (patch) | |
tree | 599db815e7486c0666dc981cd26066d074a5c80a /fixupind.pl | |
parent | c57e1d8def6e38d350da8b098a91806d405e952e (diff) |
Update to LibTomCrypt 1.16
--HG--
branch : libtomcrypt-orig
extra : convert_revision : 52840647ac7f5c707c3bd158d119a15734a7ef28
Diffstat (limited to 'fixupind.pl')
-rw-r--r-- | fixupind.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fixupind.pl b/fixupind.pl new file mode 100644 index 0000000..543ae96 --- /dev/null +++ b/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"); + |