Re: MinGW binary installer available
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Feb 8, 2007, 21:15 UTC
- Message-ID
- <200702082215.50389.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <45CADAAA.74058D21@eudaptics.com>
torsdag 08 februari 2007 09:09 skrev Johannes Sixt:
Show 13 quoted lines
>
> @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)
-- robin