From 4721f63b25eb87e94e515ab727d6ab8dc89d3d22 Mon Sep 17 00:00:00 2001 From: array-in-a-matrix Date: Fri, 5 Nov 2021 18:20:51 -0400 Subject: [PATCH] changed bash to sh --- tui.bash | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100755 tui.bash diff --git a/tui.bash b/tui.bash deleted file mode 100755 index e71e96a..0000000 --- a/tui.bash +++ /dev/null @@ -1,28 +0,0 @@ -ARG_A=$(whiptail --inputbox "Please enter the value for \"a\":" 10 50 --title "Quadratic Calculator" 3>&1 1>&2 2>&3) - -exitstatus=$? -if [ $exitstatus = 0 ]; then -echo "a =" $ARG_A -else -echo "User canceled input." -fi - -ARG_B=$(whiptail --inputbox "Please enter the value for \"b\":" 10 50 --title "Quadratic Calculator" 3>&1 1>&2 2>&3) - -exitstatus=$? -if [ $exitstatus = 0 ]; then -echo "b =" $ARG_B -else -echo "User canceled input." -fi - -ARG_C=$(whiptail --inputbox "Please enter the value for \"C\":" 10 50 --title "Quadratic Calculator" 3>&1 1>&2 2>&3) - -exitstatus=$? -if [ $exitstatus = 0 ]; then -echo "c =" $ARG_C -else -echo "User canceled input." -fi - -quadratic $ARG_A $ARG_B $ARG_C \ No newline at end of file