-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
windows git bash does not support grep -o option #75
Comments
you need to put the |
$ nvm install v0.6.14 results in the following... grep: invalid option -- o please assist. |
Having the same issue on Windows 7 using git bash. |
I am getting same error message. |
|
I'm also having this issue on Windows 7 git bash - any fixes as of yet? |
I'm having this issue as well with git bash on Windows 8. |
Thanks @mikeumus! OK, then this sounds like it might be an issue with I'm reopening this issue and will adjust the title to reflect that. |
Since this is one of the first google results for git bash's seemingly terribly outdated grep problem, I'll post a temporary workaround here. Open
Though ezwinports' grep port is much more up to date, I can't say whether any of these will cause stability/compatibility issues. I haven't found any issues yet, but use it at your own risk. |
Works great @UltCombo ! |
You can also check this Node Version Manager for Windows : https://github.com/hakobera/nvmw |
If I used one of the zip files from this site, how could I get the grep.exe file from it? It seems to be the latest version, hosted right on the Git Bash site, but not included in Git Bash. I tried "configure" & that did a lot of stuff, but didn't make the exe. "make" doesn't come with git-scm. |
@trisys3 You're linking to the official GNU grep, and as far as I know, GNU is Unix-compatible only. If you're running Windows, you will need a port of it - see my comment above. |
OK, I guess I'll just use ezwinport's port. It's just so frustrating that Git Bash has on its site not only the latest version, but the latest dev version, and they can't think to port it over. |
I also get a similar error when trying to update node using the n package:
|
I'm going to close this - this is clearly a |
It's a conflict with Windows overriding GNU for me... Renamed C:\Windows\grep to grep2 and problem solved. |
I've just installed nvm and as I type "nvm install 0.4.12" on mac os x lion it outputs:
The text was updated successfully, but these errors were encountered: