From: Loriane Weber Date: Fri, 3 Jun 2016 06:54:43 +0000 (+0200) Subject: Launch script (by Sorina) X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=commitdiff_plain;h=667236f75689e027663c4797f232fd653dbda08f Launch script (by Sorina) --- diff --git a/launch.sh b/launch.sh new file mode 100644 index 0000000..3964188 --- /dev/null +++ b/launch.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +#Wrapper script allowing to remove tags introduced by VIP wrapper files and execute octave functions with --silent --eval options + +#Echo input parameters for debugging purposes +echo $@ + +#Remove tags +params="$(echo $@ | sed 's/, /,/g')" +params="$(echo $params | sed 's/[--][[:alpha:] ]*//g')" + +#Launch the program +echo "launching octave --silent --eval \"$params\"" +octave --silent --eval \"$params\" +