5

I did not find it in brew by brew search cut. I wound if it exists in any other package systems.

How can you install GNU Cut in OSX?

8

cut is part of CoreUtils.

To install it :

brew install coreutils

Then it's available in terminal as gcut.

  • How is then GNU cut presented in my system? By gcut? I do not want replace BSD commands. – Léo Léopold Hertz 준영 Jun 15 '15 at 12:52
  • 2
    It won't replace the BSD commands. As you guessed, it will be accessible with gcut (if you have set the $path to work with brew packages). – Matthieu Riegler Jun 15 '15 at 13:00
  • What do we need to do to set the path correctly? Could you please add to your answer? I haven't found a beginner-friendly step-by-step for installing coreutils on OS X (and even more difficult to find, a guide with El Capitan in mind). Do you have any references for that? – Cole Bittel Oct 18 '15 at 18:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .