summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorziggys <ziggys@autistici.org>2018-07-21 11:41:04 -0400
committerziggys <ziggys@autistici.org>2018-07-21 11:41:04 -0400
commit45545f9c58c52fdcf697bec5b99c9192bf38f563 (patch)
tree6ad8a061e6feb3769fbbb6910f6880aef79a9c44
parent7fc9058e7307e85c6dc93d7fc2410e96661dc73d (diff)
downloadsnippets-45545f9c58c52fdcf697bec5b99c9192bf38f563.zip
snippets-45545f9c58c52fdcf697bec5b99c9192bf38f563.tar
Minor syntax changesHEADmaster
-rwxr-xr-xhead.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/head.sh b/head.sh
index 9128d03..1b42977 100755
--- a/head.sh
+++ b/head.sh
@@ -1,23 +1,23 @@
#!/bin/sh
# -*- ENCODING: UTF-8 -*-
-# FIXME: change script slug, full name and description
+# FIXME: change script slug, full name and description, author and license
# head - script name
# description
-# Author: ziggys
-# License: The Drunken BEER License v 1.1 (https://git.p4g.club/git/beer/about)
+# Author: me
+# License: Public Domain
# scriptinfo
SCRIPTNAME="${0##*/}"
SCRIPTNAME="${SCRIPTNAME%%.sh}"
#FIXME: add version, author and license if needed
-VERSION="" # versionando versionando
+VERSION="" # Version description
AUTHOR=""
LICENSE=""
# usage
-#FIXME: "edit all this to fit your fitness"
+#FIXME: "edit what's needed"
usage () {
-test "${#}" = 0 || printf "%s %s\\n "${SCRIPTNAME} "${@}"
+test "$#" = 0 || printf "%s %s\\n" "${SCRIPTNAME}" "$@"
cat << EOF | fold -s
${SCRIPTNAME} version ${VERSION}
by ${AUTHOR}