1 2 3 4 5
#!/bin/sh [ x"$1" = x"-s" ] && { s=$1; shift; } || s= "$@" [ -z "$s" ] || git status exec repl "${GIT:-git}"