mirror of
https://github.com/clearml/dropbear
synced 2025-01-30 18:36:56 +00:00
a938f4cfe1
to branch 'au.asn.ucc.matt.dropbear' (head 02c413252c90e9de8e03d91e9939dde3029f5c0a) --HG-- extra : convert_revision : 52ccb0ad0587a62bc64aecb939adbb76546aac16
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");
|
|
|