diff --git a/setup.sh b/setup.sh index 975d192..72f9604 100755 --- a/setup.sh +++ b/setup.sh @@ -45,7 +45,7 @@ fi esac # create.sh -echo 'cp template.cpp $1.cpp \n' > $DIR/create.sh +echo $'cp template.cpp $1.cpp \n' > $DIR/create.sh printf "$editor " >> $DIR/create.sh printf '$1.cpp ' >> $DIR/create.sh @@ -55,7 +55,7 @@ read -p "Press enter to create template" A $editor $DIR/template.cpp # run.sh -echo 'g++ -o $1.out -g $1.cpp\n./$1.out' > $DIR/run.sh +echo $'g++ -o $1.out -g $1.cpp\n./$1.out' > $DIR/run.sh # make all executable chmod +x $DIR/create.sh