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

Please consider renaming your binary to not match a shell builtin #1408

Closed
brandonbloom opened this issue Sep 29, 2019 · 2 comments
Closed

Comments

@brandonbloom
Copy link

Hello,

A few weeks ago, I was playing with https://github.com/honeycombio/beeline-go which makes use of your project in some capacity. Today, I was very confused when a ./configure script was hanging. I was even more confused because initial inspection showed the name of the program that it was hanging on to be echo.

Of course:

$ which echo
echo: shell built-in command

But after some head scratching, I realized:

$ /usr/bin/which echo
/my/go/path/bin/echo

It's pretty bad form to name your binary the same as such a common shell builtin. It leads to some pretty stunningly confusing behavior, even for somebody who never directly uses your project.

Please consider renaming it to echod or echo-server or something of that nature to avoid this time bomb exploding in some other unfortunate dev's face in the future.

Cheers,
Brandon

@vishr
Copy link
Member

vishr commented Sep 30, 2019

@brandonbloom Echo is a framework/library and it doesn't release any kind of binary with that name. Whoever is creating a binary should not create it with that name.

@vishr vishr closed this as completed Sep 30, 2019
@brandonbloom
Copy link
Author

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

No branches or pull requests

2 participants