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

Re: [PATCH v2 0/2] make macOS `git maintenance` test work on Windows

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 30, 2020, 23:32 UTC
Message-ID
<xmqqr1oato8m.fsf@gitster.c.googlers.com>
In-Reply-To
<87blffjkne.fsf@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 10 quoted lines
> Also as another aside (but your patch is fine as it is), my suggestion
> used Perl+Perl RX but you switched it to sed+BRE. Do we want to avoid
> "sed -E"? I wondered that for something else the other day, we have
> this:
>
>     t/check-non-portable-shell.pl:  /\bsed\s+-[^efn]\s+/ and err 'sed option not portable (use only -n, -e, -f)';
>
> So maybe it means "nothing but -nef, or maybe "don't use -efn". The ERE
> (-E and -r) options aren't mentioned, and a naïve log search of of "sed
> -E" and "sed -r" in t/ returns nothing.

Correct. We currently do not use "sed -E", and the script says "Let's not use it; it's not even in POSIX" for things other than 'n', 'e', and 'f'.

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html
Thanks.
Previous: Ævar Arnfjörð BjarmasonNext: Eric Sunshine
Message 7 of 9 in “make macOS `git maintenance` test work on Windows”
  1. 0/2 make macOS `git maintenance` test work on WindowsEric Sunshine, Nov 30, 2020
  2. 1/2 t7900: fix test failures when invoked individually via --runEric Sunshine, Nov 30, 2020
  3. 2/2 t7900: make macOS-specific test work on WindowsEric Sunshine, Nov 30, 2020
  4. Derrick StoleeNov 30, 2020
  5. Eric SunshineDec 1, 2020
  6. Ævar Arnfjörð BjarmasonNov 30, 2020
  7. Junio C HamanoNov 30, 2020
  8. Eric SunshineDec 1, 2020
  9. Johannes SchindelinDec 1, 2020

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.