#!/bin/bash if [ $# -eq 0 ]; then host="localhost" else host="$1" fi shift xsh $host mc $@