<commit_before>#!/bin/sh
# run.sh - Start FitNesse.
# try "run.sh -h" for help.

function help
{
	echo "Usage: run.sh [-p port] [-d dir] [-r root] [-l logDir] [-e days] [-o] [-a userpass] [-J jvm_option ...]
	-p <port number>                   Liston on the specified port (default: 80)
	-d <working directory>             Working directory (default: ".")
	-r <page root directory>           "Root" (default: FitNesseRoot)
	-l <log directory>                 Log to the specified directory (no logging is done, if omitted).
	-e <days>                          Number of days before page versions expire (default: 14).
	-o omit updates                    Don't do updates from remote wikis, if any.
	-a {user:pwd | user-file-name}     Enable authentication.
	-J <jvm option>                    Arguments to pass to the JVM (can be repeated).
	-h                                 This help message. Exits after printing..."
}

declare -a jvm_args
declare -a fitnesse_args
while [ $# -gt 0 ]
do
	case $1 in
		-h|-help)
			help "$@"
			exit 0
			;;
		-J)
			shift
			jvm_args[${#jvm_args[*]}]=$1
			;;
		-[pdrleoa]*)
			fitnesse_args[${#fitnesse_args[*]}]=$1
			shift
			fitnesse_args[${#fitnesse_args[*]}]=$1
			;;
		*)
			echo "Unknown argument specified: $1"
			help "$@"
			exit 1
			;;
	esac
	shift
done
echo java -cp fitnesse.jar "${jvm_args[*]}" fitnesse.FitNesse "${fitnesse_args[*]}"

<commit_msg>Bug fix<commit_after>#!/bin/sh
# run.sh - Start FitNesse.
# try "run.sh -h" for help.

function help
{
	echo "Usage: run.sh [-p port] [-d dir] [-r root] [-l logDir] [-e days] [-o] [-a userpass] [-J jvm_option ...]
	-p <port number>                   Liston on the specified port (default: 80)
	-d <working directory>             Working directory (default: ".")
	-r <page root directory>           "Root" (default: FitNesseRoot)
	-l <log directory>                 Log to the specified directory (no logging is done, if omitted).
	-e <days>                          Number of days before page versions expire (default: 14).
	-o omit updates                    Don't do updates from remote wikis, if any.
	-a {user:pwd | user-file-name}     Enable authentication.
	-J <jvm option>                    Arguments to pass to the JVM (can be repeated).
	-h                                 This help message. Exits after printing..."
}

declare -a jvm_args
declare -a fitnesse_args
while [ $# -gt 0 ]
do
	case $1 in
		-h|-help)
			help "$@"
			exit 0
			;;
		-J)
			shift
			jvm_args[${#jvm_args[*]}]=$1
			;;
		-[pdrleoa]*)
			fitnesse_args[${#fitnesse_args[*]}]=$1
			shift
			fitnesse_args[${#fitnesse_args[*]}]=$1
			;;
		*)
			echo "Unknown argument specified: $1"
			help "$@"
			exit 1
			;;
	esac
	shift
done
java -cp fitnesse.jar "${jvm_args[*]}" fitnesse.FitNesse "${fitnesse_args[*]}"


{'fraction_non_alphanumeric': 0.14546757434611252, 'fraction_numerical': 0.008599068434252956, 'mean_word_length': 2.140607424071991, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2807476', 'n_tokens_mistral': 1082, 'n_tokens_neox': 955, 'n_words': 308}