We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ echo $KSH_VERSION Version AJM 93u+m/1.1.0-alpha+b5087279 2025-01-15
$ printf '%s %5$s\n' 1 2 3 1
$ printf '%s %5$s\n' A B C ./arch/linux.i386-64/bin/ksh: printf: B: parameter not set ./arch/linux.i386-64/bin/ksh: printf: C: parameter not set A
This is a leftover from ancient code...
Expected result
$ printf '%s %5$s\n' A B C A
The text was updated successfully, but these errors were encountered:
Fixed with commit e322dbc
Apologies, in sftable.c I did the 1 char fix
fp[n].ft.fmt = 'd';
into
fp[n].ft.fmt = 'c';
But I forgot to update the comment /* gap: pretend it's a 'd' pattern */
/* gap: pretend it's a 'd' pattern */
Cheers
Sorry, something went wrong.
No branches or pull requests
$ echo $KSH_VERSION
Version AJM 93u+m/1.1.0-alpha+b5087279 2025-01-15
$ printf '%s %5$s\n' 1 2 3
1
$ printf '%s %5$s\n' A B C
./arch/linux.i386-64/bin/ksh: printf: B: parameter not set
./arch/linux.i386-64/bin/ksh: printf: C: parameter not set
A
This is a leftover from ancient code...
Expected result
$ printf '%s %5$s\n' 1 2 3
1
$ printf '%s %5$s\n' A B C
A
The text was updated successfully, but these errors were encountered: