From: Junio C Hamano Date: Mon, 05 Dec 2022 01:08:44 GMT Subject: Re: [PATCH 2/1] t3920: support CR-eating grep Message-ID: In-Reply-To: René Scharfe writes: > grep 'Subject' .crlf-orig-$branch.txt | tr '\n' ' ' | sed 's/[ ]*$//' | tr -d '\n' >.crlf-subject-$branch.txt && > - { grep 'Body' .crlf-message-$branch.txt >.crlf-body-$branch.txt || true; } && > + grep 'Body' .crlf-orig-$branch.txt | append_cr >.crlf-body-$branch.txt && Doesn't append_cr unconditionally adds CR at the end? Do we need to touch this test again when "grep" gets fixed on the platform?