From b425fe203d36deb3a3c5abc6140f9bd06a037358 Mon Sep 17 00:00:00 2001 From: eudoxia Date: Sun, 24 Oct 2021 02:49:52 -0400 Subject: md.sh: fixed typos --- md.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/md.sh b/md.sh index 522300f..3e44052 100755 --- a/md.sh +++ b/md.sh @@ -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 -- cgit v1.2.3