git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: MinGW binary installer available

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Feb 8, 2007, 10:14 UTC
Message-ID
<45CAF819.1060100@xs4all.nl>
In-Reply-To
<45CADAAA.74058D21@eudaptics.com>
Johannes Sixt escreveu:
Show 5 quoted lines
> 
> 
> in place of the usual "#!/bin/sh". It requires you to have a command
> named @echo.exe in the path that is a noop. Also, it is limited to 9
> command line arguments.

not mention that it will severly mess up if there are quoted arguments and/or spaces

 git commit -m "this has a space" -a
It might be possible to do 
  sh "%0" "%1" .. 

but to make things interesting, different releases of windows have different rules for CMD shell quoting.

Experience with LilyPond taught us to avoid the CMD shell at all costs. 
-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Previous: Johannes SixtNext: Robin Rosenberg
Message 16 of 28 in “MinGW binary installer available”
  1. Han-Wen NienhuysFeb 7, 2007
  2. Johannes SchindelinFeb 7, 2007
  3. Johannes SchindelinFeb 7, 2007
  4. Han-Wen NienhuysFeb 7, 2007
  5. Johannes SixtFeb 8, 2007
  6. Han-Wen NienhuysFeb 7, 2007
  7. Johannes SchindelinFeb 7, 2007
  8. Han-Wen NienhuysFeb 7, 2007
  9. Johannes SchindelinFeb 7, 2007
  10. Han-Wen NienhuysFeb 7, 2007
  11. Johannes SchindelinFeb 7, 2007
  12. Han-Wen NienhuysFeb 7, 2007
  13. Han-Wen NienhuysFeb 7, 2007
  14. Johannes SixtFeb 8, 2007
  15. Johannes SixtFeb 8, 2007
  16. Han-Wen NienhuysFeb 8, 2007
  17. Robin RosenbergFeb 8, 2007
  18. Johannes SchindelinFeb 8, 2007
  19. Shawn O. PearceFeb 8, 2007
  20. Johannes SchindelinFeb 8, 2007
  21. Han-Wen NienhuysFeb 7, 2007
  22. Jan NieuwenhuizenFeb 7, 2007
  23. Han-Wen NienhuysFeb 7, 2007
  24. Johannes SchindelinFeb 7, 2007
  25. Han-Wen NienhuysFeb 7, 2007
  26. Johannes SchindelinFeb 7, 2007
  27. Jan NieuwenhuizenFeb 8, 2007
  28. Johannes SchindelinFeb 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.