From 667236f75689e027663c4797f232fd653dbda08f Mon Sep 17 00:00:00 2001 From: Loriane Weber Date: Fri, 3 Jun 2016 08:54:43 +0200 Subject: [PATCH] Launch script (by Sorina) --- launch.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 launch.sh 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\" + -- 2.44.0