diff options
author | eudoxia <uplink@distress.network> | 2021-10-24 02:49:52 -0400 |
---|---|---|
committer | eudoxia <uplink@distress.network> | 2021-10-24 02:49:52 -0400 |
commit | b425fe203d36deb3a3c5abc6140f9bd06a037358 (patch) | |
tree | e7dbfef53de9677b684e0cd8de3c5f1f0b084949 | |
parent | b3c82fa800045cc22e588a97e9c9d72623b46ba5 (diff) |
md.sh: fixed typos
-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 |