<commit_before>#!/bin/bash
# Bash Menu Script Example

NORMAL='\033[0;m'        # No color
MENU='\033[0;36m'        # Cyan
NUMBER='\033[0;37m'      # White
GREEN_TEXT='\033[1;32m'  # Light Green
YELLOW_TEXT='\033[1;33m' # Light Yellow

show_menu()
{
	echo "${MENU}***********************************************${NORMAL}"
	echo "${MENU}** ${NUMBER}1) ${YELLOW_TEXT} Build Ibox with Cross-gcc ${NORMAL}"
	echo "${MENU}** ${NUMBER}2) ${YELLOW_TEXT} Build Ibox with Clang ${NORMAL}"
	echo "${MENU}** ${NUMBER}3) ${YELLOW_TEXT} Build Ibox Toolchain ${NORMAL}"
        echo "${MENU}** ${NUMBER}4) ${YELLOW_TEXT} Run Qemu ${NORMAL}"
	echo "${MENU}** ${NUMBER}5) ${YELLOW_TEXT} Run Bochs ${NORMAL}"
	echo "${MENU}** ${NUMBER}6) ${YELLOW_TEXT} Quit ${NORMAL}"
	echo "${MENU}***********************************************${NORMAL}"
	echo "${YELLOW_TEXT}Please select an option from the menu: ${NORMAL}"

        read opt
}

clear;
show_menu;
while [ opt != '' ]
	do
	if [ $opt = "" ]; then
		exit;
	else
		case $opt in
			1) clear;
			echo "${GREEN_TEXT}Running Build Script${NORMAL}";
                        sh ./scripts/run-cross.sh
                        echo '';
			show_menu;
			;;

			2) clear;
			echo "${GREEN_TEXT}Running Build Script${Normal}";
			sh ./scripts/run-clang.sh
			echo '';
			show_menu;
			;;

			3) clear;
			echo "${GREEN_TEXT}Running Toolchain${NORMAL}";
			echo '';
			show_menu;
			;;

			4) clear;
			echo "${GREEN_TEXT}Running Qemu${NORMAL}";
			ninja -C build qemu
			echo '';
			show_menu;
			;;

			5) clear;
			echo "${GREEN_TEXT}Running Bochs${NORMAL}";
			ninja -C build bochs
			#sh ./scripts/bochs-meson-wrapper.sh
			echo '';
			show_menu;<commit_msg>Fixed wording in build script<commit_after>#!/bin/bash
# Bash Menu Script Example

NORMAL='\033[0;m'        # No color
MENU='\033[0;36m'        # Cyan
NUMBER='\033[0;37m'      # White
GREEN_TEXT='\033[1;32m'  # Light Green
YELLOW_TEXT='\033[1;33m' # Light Yellow

show_menu()
{
	echo "${MENU}***********************************************${NORMAL}"
	echo "${MENU}** ${NUMBER}1) ${YELLOW_TEXT} Build Ibox with Cross-gcc ${NORMAL}"
	echo "${MENU}** ${NUMBER}2) ${YELLOW_TEXT} Build Ibox with Clang ${NORMAL}"
	echo "${MENU}** ${NUMBER}3) ${YELLOW_TEXT} Build Ibox Toolchain ${NORMAL}"
        echo "${MENU}** ${NUMBER}4) ${YELLOW_TEXT} Run Qemu ${NORMAL}"
	echo "${MENU}** ${NUMBER}5) ${YELLOW_TEXT} Run Bochs ${NORMAL}"
	echo "${MENU}** ${NUMBER}6) ${YELLOW_TEXT} Quit ${NORMAL}"
	echo "${MENU}***********************************************${NORMAL}"
	echo "${YELLOW_TEXT}Please select an option from the menu: ${NORMAL}"

        read opt
}

clear;
show_menu;
while [ opt != '' ]
	do
	if [ $opt = "" ]; then
		exit;
	else
		case $opt in
			1) clear;
			echo "${GREEN_TEXT}Running Build Script${NORMAL}";
                        sh ./scripts/run-cross.sh
                        echo '';
			show_menu;
			;;

			2) clear;
			echo "${GREEN_TEXT}Running Build Script${Normal}";
			sh ./scripts/run-clang.sh
			echo '';
			show_menu;
			;;

			3) clear;
			echo "${GREEN_TEXT}Setting Up Toolchain${NORMAL}";
			echo '';
			show_menu;
			;;

			4) clear;
			echo "${GREEN_TEXT}Running Qemu${NORMAL}";
			ninja -C build qemu
			echo '';
			show_menu;
			;;

			5) clear;
			echo "${GREEN_TEXT}Running Bochs${NORMAL}";
			ninja -C build bochs
			#sh ./scripts/bochs-meson-wrapper.sh
			echo '';
			show_menu;
{'fraction_non_alphanumeric': 0.2291113079421317, 'fraction_numerical': 0.023029229406554472, 'mean_word_length': 3.4, 'pattern_counts': {'":': 0, '<': 3, '<?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': '182665', 'n_tokens_mistral': 1387, 'n_tokens_neox': 1212, 'n_words': 292}