<commit_before>#/bin/bash
obj_file=$1
cont=1
echo "Started"
echo "Press ENTER to exit"
while [ $cont -eq "1" ]
do
read -s -n 1 in
if [ "$in" = "" ];
then
cont=0
exit
fi
done
	
<commit_msg>Basic compiler features; Execution in terminale window enabled;<commit_after>#/bin/bash
cont=1
i=0
args_file=$1

while read line; do
	var[$i]=$line
	i=$(( i + 1 ))
done < $args_file

echo ${var[2]}

case ${var[1]} in
	"c") "${var[0]}" "${var[2]}" ; ret=$? ;;
	"cpp") "${var[0]}" "${var[2]}" ; ret=$? ;;
	"java") echo "Execution of Java programs is currently unsupported" ;;
	"py") python "${var[0]}" "${var[2]}"; ret=$? ;;
	"sh") sh "${var[0]}" "${var[2]}"; ret=$? ;;
	"rb") ruby "${var[0]}" "${var[2]}"; ret=$? ;;
	"R") R CMD BATCH "${var[0]}" "${var[2]}"; ret=$? ;;
	
esac
echo "-----------------------------------------------------------------"
echo "Program exited with return code : $ret"
echo "Press ENTER to exit"
while [ $cont -eq "1" ]; do
	read -s -n 1 in
	if [ "$in" = "" ]; then
		cont=0
	fi
done
	

{'fraction_non_alphanumeric': 0.3053053053053053, 'fraction_numerical': 0.026026026026026026, 'mean_word_length': 3.048582995951417, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '5357688', 'n_tokens_mistral': 413, 'n_tokens_neox': 390, 'n_words': 122}