Johannes Sixt [off-list ref] 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.