#!/bin/sh
#
#/ usage: `name` [command]
#/ options: -h/--help - display usage information

test -z "$1" && "$0" "$0" && exit 1

case "$1" in
  --help | -h)
    "$0" "$0"
    exit 0
    ;;
  *)
    path=$(command -v "$1")
    grep "^#/" "$1" | cut -c4-
    ;;
esac
