summaryrefslogtreecommitdiff
path: root/os1w2/func
blob: a19498816d2aeafbacb9e8d66d32a691103aaaa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
usage() {
  echo "$0: usage: $0 -u"
  exit 1
}

[ -z "$1" ] && usage

case "$1" in
  "-u") id -un ;;
  *) usage ;;
esac