<commit_before>function mkbottle {

	case $# in
	1)
		mkdir -p $HOME/.local/share/wineprefixes/$1/bin

		mkopener $1 > $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
		mkcorkrc $1 > $HOME/.local/share/wineprefixes/$1/bin/corkrc
		mkrunrc $1 > $HOME/.local/share/wineprefixes/$1/bin/runrc
		source $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
		;;

	2)
		if [ -x $2 ]; then
			mkdir -p $HOME/.local/share/wineprefixes/$1/bin

			mkopener --wine $2 $1 > $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
			mkcorkrc --wine $2 $1 > $HOME/.local/share/wineprefixes/$1/bin/corkrc
			mkrunrc --wine $2 $1 > $HOME/.local/share/wineprefixes/$1/bin/runrc
			source $HOME/.local/share/wineprefixes/$1/bin/uncorkrc

		else
			echo /path/to/wine must be the path to a Wine execuable
		fi
		;;
	*)
		echo mkbottle BottleName \[/path/to/wine\]
		echo e.g. mkbottle PvZ
		echo e.g. mkbottle PvZ ~/Software/wine-1.7.30/bin/wine
		;;

	esac
}


function uncork {

	case $# in
	1)
		if [ -f $HOME/.local/share/wineprefixes/$1/bin/uncork ]; then
			source $HOME/.local/share/wineprefixes/$1/bin/uncork
			cd $HOME/.local/share/wineprefixes/$1
		else
			echo Invalid prefix
		fi
		;;
	*)
		echo uncork BottleName
		echo e.g. uncork PvZ
		;;

	esac
}
<commit_msg>bottle.sh fixed<commit_after>function mkbottle {

	case $# in
	1)
		mkdir -p $HOME/.local/share/wineprefixes/$1/bin

		mkopener $1 > $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
		mkcorkrc $1 > $HOME/.local/share/wineprefixes/$1/bin/corkrc
		mkrunrc $1 > $HOME/.local/share/wineprefixes/$1/bin/runrc
		source $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
		;;

	2)
		if [ -x $2 ]; then
			mkdir -p $HOME/.local/share/wineprefixes/$1/bin

			mkopener --wine $2 $1 > $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
			mkcorkrc --wine $2 $1 > $HOME/.local/share/wineprefixes/$1/bin/corkrc
			mkrunrc --wine $2 $1 > $HOME/.local/share/wineprefixes/$1/bin/runrc
			source $HOME/.local/share/wineprefixes/$1/bin/uncorkrc

		else
			echo /path/to/wine must be the path to a Wine execuable
		fi
		;;
	*)
		echo mkbottle BottleName \[/path/to/wine\]
		echo e.g. mkbottle PvZ
		echo e.g. mkbottle PvZ ~/Software/wine-1.7.30/bin/wine
		;;

	esac
}


function uncork {

	case $# in
	1)
		if [ -f $HOME/.local/share/wineprefixes/$1/bin/uncorkrc ]; then
			source $HOME/.local/share/wineprefixes/$1/bin/uncorkrc
			cd $HOME/.local/share/wineprefixes/$1
		else
			echo Invalid prefix
		fi
		;;
	*)
		echo uncork BottleName
		echo e.g. uncork PvZ
		;;

	esac
}

{'fraction_non_alphanumeric': 0.15838011226944668, 'fraction_numerical': 0.024057738572574178, 'mean_word_length': 2.8208269525267995, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6086481', 'n_tokens_mistral': 1182, 'n_tokens_neox': 1031, 'n_words': 193}