4 ms·
Funny. I thought Python implemented all the quirks of the original printf() formatting, including using arguments at specific positions. Apparently it didn't (a
by dozzie 10y ago
Funny. I thought Python implemented all the quirks of the original printf()
formatting, including using arguments at specific positions. Apparently it
didn't (and arguably it's a good thing).
$ printf '%2$s %2$s %1$s\n' aaa bbb
bbb bbb aaa