Mercurial > dropbear
comparison libtomcrypt/fixupind.pl @ 435:337c45621e81
merge of 'a9b0496634cdd25647b65e585cc3240f3fa699ee'
and 'c22be8b8f570b48e9662dac32c7b3e7148a42206'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 22 Feb 2007 14:53:49 +0000 |
parents | 0cbe8f6dbf9e |
children |
comparison
equal
deleted
inserted
replaced
434:0aaaf68e97dc | 435:337c45621e81 |
---|---|
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 |