Re: [PATCH 2/3] t: add "test-tool genbytes" to avoid slow tr(1) on macOS
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 8, 2026, 18:37 UTC
- Message-ID
- <xmqq7bin41an.fsf@gitster.g>
- In-Reply-To
- <50b6c35f-e9c3-47ef-8fca-aebd2620623a@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
> All cases that do not need a particular character can use > > printf %0.500d 0
I read this "printf is an easy and efficient way to create a long sequence of bytes if you do not care what value these bytes have" discussion and found it very illuminating (including the mention of glitches that are platform specific).
Thanks.