Re: [PATCH 11/14] t3032-*.sh: Pass the -b (--binary) option to sed on cygwin
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Dec 17, 2010, 07:34 UTC
- Message-ID
- <4D0B126A.8080702@viscovery.net>
- In-Reply-To
- <4D0A8250.5090403@ramsay1.demon.co.uk>
Am 12/16/2010 22:19, schrieb Ramsay Jones:
Show 19 quoted lines
> Eric Sunshine wrote: >> Your tool versions may indeed not be compatible with those of the >> netinstall environment [3]: >> >> $ sed --version >> GNU sed version 4.2.1 >> >> Unfortunately, the old --nocr is not recognized by modern GNU sed: >> >> $ sed --nocr >> sed: unrecognized option `--nocr' > > Yes. Like Johannes, I have sed version 3.02 on MinGW, but on cygwin > I have sed version 4.1.5. See patch #14, where I introduce the > SED_BIN_OPT variable to allow me to run the tests with SED_OPTIONS > set to -c instead of -b. > > [I thought I was unusual in having such an old sed version, but > apparently not... ;-) ]
As far as I'm concerned, I'm not married to this old version, and I'll update to a recent msysgit/MinGW environment RSN. So, in the long run, your setup might turn out to be unusal ;-)
-- Hannes