Subject: Re: bug#69636: Re: [PATCH] Improve quality of format-checking code for seq.

From: Paul Eggert <[email-masked]>
Date: Fri, 8 Mar 2024 11:14:00 -0800

On 2024-03-08 05:47, Pádraig Brady wrote:

>    seq $a | xargs printf -- 'x%.0s'
> 
>    printf "%${a}s" '' | tr ' ' x
> 
>    yes x | head -n$a | tr -d '\n'

Oh, I like those! Unfortunately the printf solution silently fails for 
me when a=10000000000 due to a bug in Bash. Perhaps I'll get up the 
energy to propose a fix (at least it should *noisily* fail :-).