Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81281 / brainfsckInterpreter / runMeChooseMode.sh
diff options
context:
space:
mode:
Commitaeb0d4f887a0c18c36b59acc7b5df08e62020c50 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-10-11 21:32:48 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-10-11 21:33:38 +0300
Filesb6abdc6e1810326b587f2a160f39570f1f568f27 /homework/81281/brainfsckInterpreter/runMeChooseMode.sh
IPL-aeb0d4f887a0c18c36b59acc7b5df08e62020c50.tar
IPL-aeb0d4f887a0c18c36b59acc7b5df08e62020c50.tar.gz
IPL-aeb0d4f887a0c18c36b59acc7b5df08e62020c50.zip
Parent154b7cd30f21af1554ca26986ff1643e28857727 (diff)
Removed old homeworks
1 files changed, 0 insertions, 15 deletions
-rwxr-xr-xhomework/81281/brainfsckInterpreter/runMeChooseMode.sh15
diff --git a/homework/81281/brainfsckInterpreter/runMeChooseMode.sh b/homework/81281/brainfsckInterpreter/runMeChooseMode.sh
deleted file mode 100755
index 4162db4..0000000
--- a/homework/81281/brainfsckInterpreter/runMeChooseMode.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-echo -ne "Please enter 0 for live interpreter or 1 for interpretation of a file: "
-read mode
-
-base=`pwd`"/interpreterMain.pl"
-
-if [ $mode == 0 ]
-then
- exec swipl -q -f "$base" ""
-else
- echo -n "Please enter the name of the file: "
- read fileName
- exec swipl -q -f "$base" "$fileName"
-fi