Skip to content

How to run on macOS Catalina #47

Description

@vigo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    OSXIssues related to OSX compatibility

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions