Ran into an issue when running the following command in a fish
shell:
❯ printf '%q\n''André Previn & London Symphony Orchestra'%q: invalid conversion specification
I hadn't realized at first that fish
actually has their own custom printf
function that behaves in largely the same way as the GNU coreutils
printf
function, but does not support the q
directive like GNU coreutils
printf
does.
fish-shell
docs:
https://fishshell.com/docs/current/cmds/printf.html#format-specifiers
GNU coreutils
printf
docs:
https://www.gnu.org/software/coreutils/manual/html_node/printf-invocation.html#printf-invocation
Is there a way to tell fish-shell
that I want it to use the GNU coreutils
printf
function instead of their customized printf
function?