mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 10:20:24 -05:00
Add a new %n$ option to change the order of the parameters as done in the ksh93 builtin printf (among others). For example: %printf '%2$1d %1$s\n' one 2 three 4 2 one 4 three The feature was written by Garret D'Amore under a BSD license for Nexenta/illumos. Reference: http://garrett.damore.org/2010/10/new-implementation-of-printf.html PR: bin/152934 Obtained from: Illumos MFC after: 2 weeks |
||
|---|---|---|
| .. | ||
| tests | ||
| Makefile | ||
| printf.1 | ||
| printf.c | ||