summaryrefslogtreecommitdiff
path: root/head.sh
blob: 9128d039c53eca77cb84591262f3df4eb9fab324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/sh
# -*- ENCODING: UTF-8 -*-
# FIXME: change script slug, full name and description
# head - script name 
# description
# Author: ziggys
# License: The Drunken BEER License v 1.1 (https://git.p4g.club/git/beer/about)

# scriptinfo
SCRIPTNAME="${0##*/}"
SCRIPTNAME="${SCRIPTNAME%%.sh}"
#FIXME: add version, author and license if needed
VERSION=""		                            # versionando versionando
AUTHOR=""
LICENSE=""

# usage
#FIXME: "edit all this to fit your fitness"
usage () {
test "${#}" = 0 || printf "%s %s\\n "${SCRIPTNAME} "${@}"
cat << EOF | fold -s
${SCRIPTNAME} version ${VERSION}
  by ${AUTHOR}
  License: ${LICENSE}

#FIXME: script description and usage options
${SCRIPTNAME} is a

Usage:  ${SCRIPTNAME} [options] <args>
Usage:  ${SCRIPTNAME} [-a|-b] <args>
   or:  ${SCRIPTNAME} -h
   or:  ...

Options
   -a   <args>        A description
   -b   <BARGS>       B description
   -h   HELP          Print this help and exit

For more details about this script go to
Official Repository: 
Mirror Repository: 
EOF
exit 0 
}