From 5288b0429fcdac891be3bced8e21787bd452d44a Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Tue, 27 Nov 2018 22:31:13 +0200 Subject: Fixed cloning the repo on Windows --- homework/81281/brainf***Interpreter/runMeChooseMode.sh | 15 --------------- homework/81281/brainfsckInterpreter/runMeChooseMode.sh | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100755 homework/81281/brainf***Interpreter/runMeChooseMode.sh create mode 100755 homework/81281/brainfsckInterpreter/runMeChooseMode.sh (limited to 'homework/81281/brainf***Interpreter/runMeChooseMode.sh') diff --git a/homework/81281/brainf***Interpreter/runMeChooseMode.sh b/homework/81281/brainf***Interpreter/runMeChooseMode.sh deleted file mode 100755 index 4162db4..0000000 --- a/homework/81281/brainf***Interpreter/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 diff --git a/homework/81281/brainfsckInterpreter/runMeChooseMode.sh b/homework/81281/brainfsckInterpreter/runMeChooseMode.sh new file mode 100755 index 0000000..4162db4 --- /dev/null +++ b/homework/81281/brainfsckInterpreter/runMeChooseMode.sh @@ -0,0 +1,15 @@ +#!/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 -- cgit v1.3.1-26-gb76a