Hi, just tried with macOS 10.15.4. If you install coreutils such as brew install coreutils then you'll have gprintf, gdate and greadlink...
- replace all
printf with gprintf but do not replace -printf
- replace all
readlink with greadlink
- find all
-prinf which used in find command, replace with -print
example about -prinf replacements...
# you'll see few more
done < <(find $REPOSITORY_ROOT -path "$target_path/*.md" ! -empty -printf "%f\n" | sort -r)
should be:
done < <(find $REPOSITORY_ROOT -path "$target_path/*.md" ! -empty -print | sort -r)
macOS' find command doesn't support printf.
Well, maybe this information will help :) Big fan of goto here :)
Hi, just tried with macOS 10.15.4. If you install
coreutilssuch asbrew install coreutilsthen you'll havegprintf,gdateandgreadlink...printfwithgprintfbut do not replace-printfreadlinkwithgreadlink-prinfwhich used infindcommand, replace with-printexample about
-prinfreplacements...should be:
macOS' find command doesn't support printf.
Well, maybe this information will help :) Big fan of
gotohere :)