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=100 due to a bug in Bash. Perhaps I'll get up the
energy
tag 69636 notabug
close 69636
stop
On 08/03/2024 12:29, User wrote:
Jim Meyering wrote:
Paul Eggert wrote:
* src/seq.c (validate_format): Remove. Migrate its checks into...
(long_double_format): Report an error and exit if an error is found,
instead of returning NULL. All callers changed.
Jim Meyering wrote:
Paul Eggert wrote:
> * src/seq.c (validate_format): Remove. Migrate its checks into...
> (long_double_format): Report an error and exit if an error is found,
> instead of returning NULL. All callers changed.
> Use a more-consistent format for diagnostics.
> * tests/misc/