2010/8/21 yy <yiyu....@gmail.com>: > #!/bin/sh > > USAGE="\ > Usage: $0 -flags args > Explain the options here. > You even can even use use shell variables! > " > > if [ $# -lt 1]; then > echo -n "$USAGE" 1>&2 > exit 1 > fi > > Is this really so ugly?
No, it seems decent enough. Good idea.