mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
%(pattern)q is equivalent to %P. It's also equivalent to %#P, but since the alternative format specifier '#' does nothing for %P, %P and %#P are the same and documenting #%P is just confusing. Thanks to @stephane-chazelas for the report. src/cmd/ksh93/bltins/print.c: - In the printmap struct, document %P as equivalent of %(pattern)q. - Sort it alphabetically. - Do not pointlessly repeat the string "Equivalent to". Instead, let the discipline function infof() insert it for each entry. (This is the function used to dynamically insert the equivalents documentation into the --man output at the \fextra\f tag in sh_optprintf[] in data/builtins.c.) Resolves: https://github.com/ksh93/ksh/issues/338 |
||
---|---|---|
.. | ||
cmd | ||
lib | ||
Mamfile |