threads / discuss / 35452

Please update grep in the Windows Git distro

Subject: Please update grep in the Windows Git distro

## tl;dr

3 messages between Dec 2, 2013 and Dec 2, 2013.

replies: 2people: 3as markdown or json

Tom Byrer· Dec 2, 2013, 19:36 UTC · lore

Seems that grep.exe is too outdated for some scripts: https://github.com/creationix/nvm/issues/75#issuecomment-13735767

Updating to a newer grep distro fixes the problem: https://github.com/creationix/nvm/issues/75#issuecomment-29054164

Seems other OSX & Linux don't have problems with the same scripts.

If the grep for the Git for Windows could be updated next, that would be helpful.

cheers
Jonathan Nieder· Dec 2, 2013, 19:59 UTC · re: Tom Byrer · lore

Re: Please update grep in the Windows Git distro

(cc-ing the msysgit@ group, which maintains Git for Windows) Hi,

Tom Byrer wrote:
Show 5 quoted lines
> Seems that grep.exe is too outdated for some scripts:
> https://github.com/creationix/nvm/issues/75#issuecomment-13735767
>
> Updating to a newer grep distro fixes the problem:
> https://github.com/creationix/nvm/issues/75#issuecomment-29054164

If you have time for it, your best bet is to contribute this change by forking msysgit.git on GitHub.

See
 https://github.com/msysgit/msysgit/wiki#how-to-participate
 https://github.com/msysgit/msysgit/wiki/Frequently-Asked-Questions#i-want-to-upgrade-perl-how-do-i-do-that
for hints.  (Short answer: the usual way would be to add a
/src/grep/release.sh script that builds and installs 'grep', imitating
others /src/*/release.sh scripts, to make it easy to keep grep.exe up
to date in the future.)

Thanks for your interest, and hope that helps, Jonathan

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Antoine Pelisse· Dec 2, 2013, 20:08 UTC · re: Tom Byrer · lore

Re: Please update grep in the Windows Git distro

On Mon, Dec 2, 2013 at 8:36 PM, Tom Byrer <tombyrer@gmail.com> wrote:
> Seems that grep.exe is too outdated for some scripts:
> https://github.com/creationix/nvm/issues/75#issuecomment-13735767

-o is not an option of POSIX grep [1] and you should probably not rely on it for portable script.

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html

← back to recent threads