<commit_before>#!/bin/bash
s_version="0.5.2"
verbose="0" #0 Normal info | 1 debug console | 2 debug into logfile
script="$(readlink -f "$0")"
scriptdir=$(dirname $script)
lastUpdate=1511410224
message=""

control_c() {
	# run if user hits control-c
	echo -ne '\n'
	cleanup die
}
trap control_c SIGINT

function verbose {
	#todo fix verbose in external scripts
	if [[ $quiet ]]; then
		#silent
		exec > /dev/null 2>&1
	elif [[ ! $quiet ]] && [[ $verbose -eq 1 ]]; then
		echo "STARTING PID=$BASHPID"
		set -x
	elif [[ ! $quiet ]] && [[ $verbose -eq 2 ]]; then
		#verbose
		echo "INFO: Debugging. All input is redirected to logfile. Script is finished when console is idle again. Please wait!"
		exec 2>> "$scriptdir/run/$username.ftpauto.debug"<commit_msg>Pushed new release 0.5.3<commit_after>#!/bin/bash
s_version="0.5.3"
verbose="0" #0 Normal info | 1 debug console | 2 debug into logfile
script="$(readlink -f "$0")"
scriptdir=$(dirname $script)
lastUpdate=1511410224
message=""

control_c() {
	# run if user hits control-c
	echo -ne '\n'
	cleanup die
}
trap control_c SIGINT

function verbose {
	#todo fix verbose in external scripts
	if [[ $quiet ]]; then
		#silent
		exec > /dev/null 2>&1
	elif [[ ! $quiet ]] && [[ $verbose -eq 1 ]]; then
		echo "STARTING PID=$BASHPID"
		set -x
	elif [[ ! $quiet ]] && [[ $verbose -eq 2 ]]; then
		#verbose
		echo "INFO: Debugging. All input is redirected to logfile. Script is finished when console is idle again. Please wait!"
		exec 2>> "$scriptdir/run/$username.ftpauto.debug"
{'fraction_non_alphanumeric': 0.15121630506245892, 'fraction_numerical': 0.032215647600262985, 'mean_word_length': 3.9096774193548387, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '699976', 'n_tokens_mistral': 588, 'n_tokens_neox': 528, 'n_words': 180}