Re: MinGW binary installer available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 8 Feb 2007, Robin Rosenberg wrote:

> torsdag 08 februari 2007 09:09 skrev Johannes Sixt:
> > 
> > @echo off
> > rem () { :; } ; : \
> > sh %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
> > rem ; : \
> > exit /B %ERRORLEVEL%
> > 
> > 
> > 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.
> > 
> > What a hack! (*)
> 
> Yes... I suggest you use %* to pass on all arguments. It works with more 
> than 10 arguemtns, including quoted arguemnts (presumably whatever limit 
> windows has)

... but probably breaks down on Windows 98, and maybe on ME, too, and just 
maybe on XP pre-SP1 with full moon, unless you end the life of a black 
goat before trying that.

Frankly, I'd rather stay away from such hackeries. For now, we can ship 
bash, perl and Tcl/Tk with Git, as well as git-gui, can't we? After all, 
Windows users are used to bloatware. Then, we just hide the command line 
from them!

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]