diff options
Diffstat (limited to 'md.sh')
-rwxr-xr-x | md.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -111,7 +111,7 @@ done toc() { -[ "$(which fzy)" ] || { printf "[warn] \tfzy not found, skipping toc\n" ; return ; } +[ $(which fzy) ] || { printf "[warn] \tfzy not found, skipping toc\n" ; return ; } [ -f ./urlencode ] || { printf "[warn] \turlencode not found, skipping toc\n" ; return ; } tmp=$(mktemp -p /tmp) # using a tempfile, more convenient for storage and operations @@ -189,7 +189,7 @@ case "$opts" in ;; (*) - printf "[warn] \tmetadata: unrecognized option(s) \"$s\"\n" "${opts}" + printf "[warn] \tmetadata: unrecognized option(s) \"%s\"\n" "${opts}" ;; esac done |