summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/stream b/bin/stream
index 6e3ecdb..e6e0f40 100755
--- a/bin/stream
+++ b/bin/stream
@@ -132,17 +132,17 @@ fi
# shellcheck disable=SC2048,SC2059
echo_n() {
- printf "$*"
+ printf -- "$*"
}
# shellcheck disable=SC2048,SC2059
printf_each() {
skel=$1; shift
for string in $*; do
- printf "$skel" "$string"
+ printf -- "$skel" "$string"
done
}
uniqwords() {
- echo "$@" | tr ' ' '\012' | sort -u
+ echo_n "$@" | tr ' ' '\012' | sort -u
}
valuedargcount() {
nonempty=