From: Junio C Hamano Date: Fri, 24 Sep 2021 15:51:15 GMT Subject: Re: [PATCH 8/8] hook-list.h: add a generated list of hooks, like config-list.h Message-ID: In-Reply-To: <92471ff9-7573-c3e4-e9fd-63a5cbf5738f@gmail.com> Phillip Wood 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 " from > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html Would sed implementation of BSD ancestry fail reliably to be a good coalmine canary?