<commit_before>#!/usr/bin/perl -w

use List::MoreUtils qw(uniq);

my @files = ( ".tar.gz", "-1.deb", "-1.noarch.rpm" );
my @sigs = ( "asc", "sha1", "md5", "sha256");
my @versions = ();

for(<>){
	if(m/rsnapshot(-|_)(([0-9]+\.)+[0-9]+)/){
		push @versions, $2;
	}
}

print "---\n";
print "layout: page\n";
print "title: All rsnapshot versions\n";
print "hide: true\n";
print "---\n";
<commit_msg>add a description to gen.pl<commit_after>#!/usr/bin/perl -w

use List::MoreUtils qw(uniq);

# The index.md-file is generated with this little script
# use it the following way:
#
# ls | ./gen.pl > index.md
#
# This script generates valid markdown-output with a jekyll-header.
# It reads all files and compiles the versions together in a table.

my @files = ( ".tar.gz", "-1.deb", "-1.noarch.rpm" );
my @sigs = ( "asc", "sha1", "md5", "sha256");
my @versions = ();

for(<>){
	if(m/rsnapshot(-|_)(([0-9]+\.)+[0-9]+)/){
		push @versions, $2;
	}
}

print "---\n";
print "layout: page\n";
print "title: All rsnapshot versions\n";
print "hide: true\n";
print "---\n";

{'fraction_non_alphanumeric': 0.24503311258278146, 'fraction_numerical': 0.02270577105014191, 'mean_word_length': 3.6, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3988231', 'n_tokens_mistral': 447, 'n_tokens_neox': 435, 'n_words': 116}