#!/bin/bash args=( "$@" ) case ${args[0]} in st) args[0]="status" ;; up) args[0]="upload" ;; esac exec /usr/bin/g4 "${args[@]}"