1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh PATH="$_PATH_ORIG" if [ $# -ge 2 ]; then args="$1" mod="$2" shift 2 exec ar "$mod$args" "$@" else exec ar "$@" fi