mirror of
https://github.com/clearml/dropbear
synced 2025-03-09 13:30:45 +00:00
--HG-- branch : libtomcrypt-orig extra : convert_revision : 52840647ac7f5c707c3bd158d119a15734a7ef28
12 lines
218 B
Perl
12 lines
218 B
Perl
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");
|
|
|