dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

No default names for gnu-sed

Open PaulRBerg opened this issue 5 years ago • 6 comments

It seems that gnu-sed doesn't have the --with-default-names parameter anymore.

Environment

  • osx mojave 10.14.2
  • homebrew 2.0.5

PaulRBerg avatar Mar 25 '19 13:03 PaulRBerg

I’ve got a fix for this in my fork; lemme get a PR opened to handle this & #870, amongst other things that have changed in Homebrew recently.

jeffbyrnes avatar Mar 25 '19 14:03 jeffbyrnes

Can we use something like this ?

$ brew install gnu-sed
$ export PATH=$PATH:~$(brew --prefix gnu-sed)/libexec/gnubin
$ echo 'export PATH=$PATH:$(brew --prefix gnu-sed)/libexec/gnubin' >> ~/.zshrc

pnodet avatar Aug 23 '19 12:08 pnodet

@pnodet one could! However, I’d like to stay away from messing with folks’ $PATH, that’s a pretty personal thing.

jeffbyrnes avatar Aug 23 '19 14:08 jeffbyrnes

Okay no worries, just thought it might be easier to make it default. (because... laziness you know)

pnodet avatar Aug 23 '19 16:08 pnodet

I mean, for sure, I hear you! While it would replicate the existing functionality, I think it would be surprising to folks, and I tend to follow the principle of least surprise 😃

jeffbyrnes avatar Aug 23 '19 18:08 jeffbyrnes