#!/bin/sh loba=./loba path=$(ldd "$loba" | sed '/libsimgrid/!d;s/.*=> \(.*\)\/lib\/libsimgrid.*/\1/') : ${path:="./simgrid-stable"} colorizer="$path/bin/simgrid-colorizer" exec "$loba" "$@" -v 2>&1 | "$colorizer" - | less -R