Mercurial > dropbear
comparison libtomcrypt/fixupind.pl @ 382:0cbe8f6dbf9e
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head 2af22fb4e878750b88f80f90d439b316d229796f)
to branch 'au.asn.ucc.matt.dropbear' (head 02c413252c90e9de8e03d91e9939dde3029f5c0a)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 02:41:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
379:b66a00272a90 | 382:0cbe8f6dbf9e |
---|---|
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 |