1 2 3 4 5 6 7 8 9
#!/bin/sh ENV="$1" shift 1 CMD="$ENV valgrind -q --db-attach=yes --num-callers=30 $@" echo $CMD eval $CMD