Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change non-portable echo -e for printf.
[simgrid.git] / src / smpi / smpicc.in
index db70796..0d50597 100755 (executable)
@@ -43,8 +43,7 @@ while [ $# -gt 0 ]; do
             list_add CMDARGS "${SRCFILE}"
             ;;
         '-version' | '--version' | '-v')
-            # -e is not recognised by MS-DOS...
-            echo -e $SIMGRID_VERSION
+            printf '%b\n' "$SIMGRID_VERSION"
             exit 0
             ;;           
         *)