Re: [PATCH 8/8] hook-list.h: add a generated list of hooks, like config-list.h
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 24, 2021, 15:51 UTC
- Message-ID
- <xmqqr1devuoc.fsf@gitster.g>
- In-Reply-To
- <92471ff9-7573-c3e4-e9fd-63a5cbf5738f@gmail.com>
Phillip Wood <phillip.wood123@gmail.com> writes:
Show 7 quoted lines
>> +sed -n -e '/^~~~~*$/ {x; s/^.*$/ "&",/; p;}; x' \
>
> POSIX does not support using a semicolon after a closing brace [1],
> ...
> [1] "Editing commands other that {...}, a, b, c, i, r, t, w, : and #
> can be followed by a <semicolon>" from
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.htmlWould sed implementation of BSD ancestry fail reliably to be a good coalmine canary?