Subject: Re: [PATCH 8/8] hook-list.h: add a generated list of hooks, like config-list.h

From: Junio C Hamano <[email-masked]>
Date: Fri, 24 Sep 2021 08:51:15 -0700

Phillip Wood <[email-masked]> writes:

>> +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.html

Would sed implementation of BSD ancestry fail reliably to be a good
coalmine canary?