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

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
Previous: Ramsay JonesNext: Ramsay Jones
Message 7 of 8 in “t3032-*.sh: Pass the -b (--binary) option to sed on cygwin”
  1. 11/14 t3032-*.sh: Pass the -b (--binary) option to sed on cygwinRamsay Jones, Dec 14, 2010
  2. Junio C HamanoDec 14, 2010
  3. Eric SunshineDec 14, 2010
  4. Johannes SixtDec 15, 2010
  5. Eric SunshineDec 15, 2010
  6. Ramsay JonesDec 16, 2010
  7. Johannes SixtDec 17, 2010
  8. Ramsay JonesDec 18, 2010

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.