diff --git a/sx-open b/sx-open index 5f08eaa..0ac7b2a 100755 --- a/sx-open +++ b/sx-open @@ -5,7 +5,7 @@ cfg_file="$HOME/.config/sx-open.cfg" [[ -f "$cfg_file" ]] && { source "$cfg_file"; } -usage() { echo "${0##*/} "; } +usage() { printf '%s \n' "${0##*/}"; } handle_uri() { local target="$1" @@ -51,7 +51,7 @@ main() { } } - [[ "$?" -gt 0 ]] && { echo "No handlers found for $target"; } + [[ "$?" -gt 0 ]] && { printf "No handlers found for %s\n" "$target"; } return 0 }