managarm / frigg

Lightweight C++ utilities and algorithms for system programming
MIT License
56 stars 20 forks source link

Unimplemented printf specifier #14

Closed Dennisbonke closed 2 years ago

Dennisbonke commented 2 years ago

The following applications from util-linux use $ while printing their help message.

The following is logged in E9 for all of them.

mlibc: Unknown printf terminator '36'
avdgrinten commented 2 years ago

AFAICT $ is a POSIX extension that allows selecting an argument by index (e.g., %5$ to select the fifth argument).