FOO="${VARIABLE:=default}" # If variable not set or null, set it to default.
VAR=${1:-DEFAULTVALUE}
function server() { local port="${1:-8000}" python -m SimpleHTTPServer "$port" }
somecommand ${1:-foo}