Skip to content

Instantly share code, notes, and snippets.

@csandanov
Created May 24, 2019 07:01
Show Gist options
  • Save csandanov/37c8ee0d36b5864bd5f3b641520deab8 to your computer and use it in GitHub Desktop.
Save csandanov/37c8ee0d36b5864bd5f3b641520deab8 to your computer and use it in GitHub Desktop.
Install GNU sed and grep on macOS
brew install gnu-sed
brew install grep
# Add to path your shell profile (e.g. ~/.zshrc).
export PATH=/usr/local/opt/gnu-sed/libexec/gnubin:/usr/local/opt/gnu-sed/libexec/gnubin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment