From: Junio C Hamano Date: Wed, 09 Mar 2022 18:32:38 GMT Subject: Re: [PATCH v3 07/12] list-objects: handle NULL function pointers Message-ID: In-Reply-To: <220309.86k0d3mee3.gmgdl@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: > I suspect what's wanted here is "print all stuff before the "\n\n" > header/PACK delimiter, which is better done with "sed" like this: > > sed -n -e '/^$/q' -e 'p' I see. Or just "sed -e '/^$/q'" would also be fine (i.e. "print everything up to, including the first blank line") for comparison purposes and may be simpler. Thanks.