On Thu, Feb 20, 2025 at 11:41 PM Chet Ramey <chet.ra...@case.edu> wrote:
> A response to the question about printf supporting %n$ conversion > specifications I posted to savannah. > Thanx @chet, I didn't knew this thread. The thread say ksh93 is buggy, that's not what I observe with latest patches, but at time of the thread it was probably buggy. Yet it doesn't prevent an attempt to make it better, low priori I rekon, but if someone want to cut a patch there is no reason to veto it. Old script will still work, and new script could benefit it. I like also to have %d (and all integer format) accept a valid integer expression as argument (printf '%d' 1+1 ; i=1 ; printf '%d' i+1 etc...) again a very low prio, but it is clean, I know that a simple $((...)) can do this, but it is 5 char of line cluttering for each % integer format, for not that much clarity. I don't really push for that to happen, it is just a wish list... Cheers