From: Junio C Hamano Date: Thu, 15 May 2025 15:56:38 GMT Subject: Re: [PATCH] sequencer: make it clearer that commit descriptions are just comments Message-ID: In-Reply-To: Phillip Wood writes: >> - grep -v -e \# -e ^$ work >patches && >> + sed -e s/#.*// work | grep -v ^$ >patches && > > I think we could just use 'sed -n "!/^#/p work >patches &&" here Or even "sed -e '/^#/d' -e '/^$/d'" ?