view libtomcrypt/fixupind.pl @ 631:af304deacb4c

Print the server allocated port when using dbclient -R 0:.... Patch from Ali Onur Uyar
author Matt Johnston <matt@ucc.asn.au>
date Sat, 05 Nov 2011 23:12:15 +0800
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");