#!/bin/shecho -ne"Please enter 0 for live interpreter or 1 for interpretation of a file: "read mode
base=`pwd`"/interpreterMain.pl"if[$mode==0]thenexec swipl -q -f"$base"""elseecho -n"Please enter the name of the file: "read fileName
exec swipl -q -f"$base""$fileName"fi