X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=blobdiff_plain;f=launch.sh;fp=launch.sh;h=3964188d9e8751d3c0aa7842acb7b8b08aa72bb0;hp=0000000000000000000000000000000000000000;hb=667236f75689e027663c4797f232fd653dbda08f;hpb=1c0469ada9531828709108a4882a751d2816994a 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\" +