Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run on macOS Catalina #47

Open
vigo opened this issue May 13, 2020 · 1 comment
Open

How to run on macOS Catalina #47

vigo opened this issue May 13, 2020 · 1 comment
Labels
OSX Issues related to OSX compatibility

Comments

@vigo
Copy link

vigo commented May 13, 2020

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 :)

@iridakos iridakos added the OSX Issues related to OSX compatibility label May 13, 2020
@iridakos
Copy link
Owner

Hi @vigo!!!

I will deal with this as we already did in this pull request for the gdate issue!

Well, maybe this information will help

It surely did! Thank you very much for your feedback 🚀 🚀 🚀

Big fan of goto here

🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OSX Issues related to OSX compatibility
Projects
None yet
Development

No branches or pull requests

2 participants