view libtomcrypt/fixupind.pl @ 668:405418f7dc5e

Fixed compilation with unset ENABLE_{SVR,CLI}_AGENTFWD. Got rid of ENABLE_AGENTFWD macro.
author Andrey Mazo <ahippo@yandex.ru>
date Mon, 26 Mar 2012 16:17:16 +0400
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");