X-Git-Url: https://iankelling.org/git/?p=small-misc-bash;a=blobdiff_plain;f=hostmac;h=3cd4e702c38963a624d387d0ed1cb6e359b933b8;hp=2402fd41ae05a89ee1b40dd86a4eea670d3c75fc;hb=HEAD;hpb=739116576825a37d4be07d3562e23f1d1e1dc929 diff --git a/hostmac b/hostmac index 2402fd4..3cd4e70 100755 --- a/hostmac +++ b/hostmac @@ -1,5 +1,12 @@ #!/bin/bash -# Copyright (C) 2016 Ian Kelling +# I, Ian Kelling, follow the GNU license recommendations at +# https://www.gnu.org/licenses/license-recommendations.en.html. They +# recommend that small programs, < 300 lines, be licensed under the +# Apache License 2.0. This file contains or is part of one or more small +# programs. If a small program grows beyond 300 lines, I plan to switch +# its license to GPL. + +# Copyright 2024 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,6 +20,7 @@ # See the License for the specific language governing permissions and # limitations under the License. + set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR