comparison libtomcrypt/fixupind.pl @ 391:00fcf5045160

propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head c1db4398d56c56c6d06ae1e20c1e0d04dbb598ed) to branch 'au.asn.ucc.matt.dropbear' (head d26d5eb2837f46b56a33fb0e7573aa0201abd4d5)
author Matt Johnston <matt@ucc.asn.au>
date Thu, 11 Jan 2007 04:29:08 +0000
parents 0cbe8f6dbf9e
children
comparison
equal deleted inserted replaced
390:d8e44bef7917 391:00fcf5045160
1 open(IN,"<crypt.ind");
2 open(OUT,">crypt.ind.tmp");
3 $a = <IN>;
4 print OUT "$a\n\\addcontentsline{toc}{chapter}{Index}\n";
5 while (<IN>) {
6 print OUT $_;
7 }
8 close OUT;
9 close IN;
10 system("mv -f crypt.ind.tmp crypt.ind");
11