33 lines
647 B
Plaintext
33 lines
647 B
Plaintext
Format_Index: l, y, a, d
|
|
#!/bin/sh
|
|
# SPDX-License-Identifier: %s
|
|
me=$0
|
|
scriptversion="1.0.0"
|
|
|
|
version="$me $scriptversion
|
|
|
|
Copyright (C) %d %s.
|
|
This is free software; you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law."
|
|
|
|
usage="\
|
|
Usage: $me [OPTION]...
|
|
%s
|
|
|
|
Options:
|
|
|
|
--help print this help and exit
|
|
--version output version information"
|
|
|
|
while test $# -gt 0; do
|
|
case $1 in
|
|
--help) echo "$usage"; exit 0;;
|
|
--version) echo "$version"; exit 0;;
|
|
-*)
|
|
echo "$0: Unknown option '$1'." >&2
|
|
echo "$0: Try '--help' for more information." >&2
|
|
exit 1;;
|
|
esac
|
|
shift
|
|
done
|