Mercurial > dropbear
view libtomcrypt/fixupind.pl @ 589:9fd27bc37807
- Update fake-rfc2553.{c,h} from OpenSSH 5.5p1
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 21 Jul 2010 13:53:23 +0000 |
parents | 0cbe8f6dbf9e |
children |
line wrap: on
line source
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");