$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin22)Copyright (C) 2007 Free Software Foundation, Inc.$helpprintfprintf: printf [-v var] format [arguments] printf formats and prints ARGUMENTS under control of the FORMAT. FORMAT is a character string which contains three types of objects: plain characters, which are simply copied to standard output, character escape sequences which are converted and copied to the standard output, and format specifications, each of which causes printing of the next successive argument. In addition to the standard printf(1) formats, %b means to expand backslash escape sequences in the corresponding argument, and %q means to quote the argument in a way that can be reused as shell input. If the -v option is supplied, the output is placed into the value of the shell variable VAR rather than being sent to the standard output.
Je pense que c’est la page de manuel qui n’est pas à jour (mais quand je fais un man bash et que dedans je fais un /printf je trouve bien, bizarre)
"It is seldom that liberty of any kind is lost all at once." ― David Hume
[^] # Re: Pas vraiment le C
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Graphisme retro en console. Évalué à 3.
Je viens de vérifier sur un mac
Je pense que c’est la page de manuel qui n’est pas à jour (mais quand je fais un
man bashet que dedans je fais un/printfje trouve bien, bizarre)"It is seldom that liberty of any kind is lost all at once." ― David Hume