Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change non-portable echo -e for printf.
[simgrid.git] / src / smpi / smpicxx.in
index 7026936..5bd4b1a 100755 (executable)
@@ -43,7 +43,7 @@ while [ $# -gt 0 ]; do
             list_add CMDARGS "${SRCFILE}"
             ;;
         "-version" | "--version" | "-v")
-            echo -e $SIMGRID_VERSION
+            printf '%b\n' "$SIMGRID_VERSION"
             exit 0
             ;;
         *)