#!/bin/bash # danish locale is broken - see http://bugs.debian.org/181027 #export LC_ALL=C if [ $# -eq 0 ]; then xsh localhost mc elif [ $# -eq 1 -a "$1" = "su" ]; then xsh localhost mc su else xsh $@ mc fi