3 ms·
You could also have a static buffer full of yesses, it would increase the binary size by 8k, but GNU yes is already 40k on my system so...
by masklinn 9y ago
You could also have a static buffer full of yesses, it would increase the binary size by 8k, but GNU yes is already 40k on my system so...
- dbaupp 9y agoThat is mentioned elsewhere in this very thread, where it is also pointed out that that isn't a general solution (`yes` can print more than just y).