Files ending in -function are for sourcing then calling as a function. Files
without -function are exactly the same except they are for calling as a script.
-Patches and bugs are very welcome via gitlab.
-
-Questions, feedback, etc are very welcome via email to Ian Kelling
-<ian@iankelling.org>. I will add any useful questions, answers, etc. to this
-file. If a mailing list / forum is ever called for, I will start one.
+Patches, bugs, and any feedback is very welcome via gitorious or email to
+Ian Kelling <ian@iankelling.org>.
This program is also part of a collection of programs,
-https://gitlab.com/iankelling/bash-programs-by-ian, which are unrelated except
+https://gitorious.org/bash-programs-by-ian, which are unrelated except
having the same author and being being bash programs.
Tee unique. Append each LINE or if none, each stdin line to FILE if it does not exist in FILE.
[-h|--help] display this message"
-
+
if [[ $1 == --help || $1 == -h ]]; then
echo "$help"
return
fi
-
+
if (( ${#@} == 0 )) ; then
echo "teeu error: need 1 or more arguments"
echo "$help"
Tee unique. Append each LINE or if none, each stdin line to FILE if it does not exist in FILE.
[-h|--help] display this message"
-
+
if [[ $1 == --help || $1 == -h ]]; then
echo "$help"
return
fi
-
+
if (( ${#@} == 0 )) ; then
echo "teeu error: need 1 or more arguments"
echo "$help"