diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-06 11:17:28 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-06 11:17:28 +1300 |
commit | a07c90e4904745760a99e4115585b2f319e5f5b5 (patch) | |
tree | f02bd9ae6093cf10509f043d9b52c04d7a0dda68 /bin | |
parent | Replace subshell in sshi(1df) with compound cmd (diff) | |
download | dotfiles-a07c90e4904745760a99e4115585b2f319e5f5b5.tar.gz dotfiles-a07c90e4904745760a99e4115585b2f319e5f5b5.zip |
Fix some misdirections
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rndl | 2 | ||||
-rwxr-xr-x | bin/stbl | 2 | ||||
-rwxr-xr-x | bin/xgo | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -36,7 +36,7 @@ lc=$(sed -- '$=;d' "$@") || exit # If there were none, bail case $lc in ''|0) - printf 2>&1 'rndl: No lines found on input\n' + printf >&2 'rndl: No lines found on input\n' exit 2 ;; esac @@ -3,7 +3,7 @@ # Check arguments if [ "$#" -eq 0 ] ; then - printf 2>&1 'stbl: Need a filename\n' + printf >&2 'stbl: Need a filename\n' exit 2 fi @@ -3,7 +3,7 @@ # Check arguments if [ "$#" -eq 0 ] ; then - printf 2>&1 'xgo: At least one URL required\n' + printf >&2 'xgo: At least one URL required\n' fi # Iterate over the URL arguments |