2 eval 'echo -n "$'"$1"'"'
6 eval "${1}='$(echo -n "$2" | sed "s
/'/'\\\\''/g
")'"
10 [ "$(stat -c '%a' "$2")" = "$1" ]
13 # -m : print missing tools
19 if [ "$i" = '-m' ]; then
22 command -v "$i" >/dev
/null || missing
="${missing} ${i}"
25 "$show" && echo -n $missing
31 missing
="$(has_tools -m "$@
")" || fatal
1 "tool(s) missing to run this command:" -h "$missing"
37 && { info_p success
; [ "$output" ] && info
-- "$output"; true
; } \
38 ||
{ info_p failure
; error
-- "$output"; }
45 local val
="$(getv "$var")"
47 then setv
"$var" "${val} ${@}"
58 [ "$i" = "$v" ] && return 0