From ea655d17a5e11dd740574d0a1d5ca2401d5cf063 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 16 Feb 2015 02:05:40 -0800 Subject: [PATCH] update README for gitorious move --- README | 9 +++------ teeu | 4 ++-- teeu-function | 4 ++-- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README b/README index a960550..b3829e2 100644 --- a/README +++ b/README @@ -4,12 +4,9 @@ script files which sit next to this file. 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 -. 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 . 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. diff --git a/teeu b/teeu index 9a7345b..948169d 100755 --- a/teeu +++ b/teeu @@ -8,12 +8,12 @@ teeu() { 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" diff --git a/teeu-function b/teeu-function index 735cd3f..91d3e40 100644 --- a/teeu-function +++ b/teeu-function @@ -8,12 +8,12 @@ teeu() { 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" -- 2.30.2