Re: 'command' builtin doesn't seem to work for external 'printf'

2021-05-18 Thread Greg Wooledge
On Mon, May 17, 2021 at 04:00:10PM -0700, Carl Thompson wrote: > Nevermind! I was misunderstanding what the 'command' builtin does! For the archives: 'command' only suppresses functions. It doesn't suppress shell builtins. The typical use is when writing a wrapper function with the same name as

Re: 'command' builtin doesn't seem to work for external 'printf'

2021-05-17 Thread Carl Thompson
tc/bash.bash_logout' > -DNON_INTERACTIVE_LOGIN_SHELLS > uname output: Linux clip 5.10.26-brunch-sebanc #1 SMP PREEMPT Wed Apr 7 > 21:32:32 CEST 2021 x86_64 GNU/Linux > Machine Type: x86_64-pc-linux-gnu > > Bash Version: 5.1 > Patch Level: 4 > Relea

'command' builtin doesn't seem to work for external 'printf'

2021-05-17 Thread Carl Thompson
: 4 Release Status: release Description: 'command' builtin doesn't seem to work for external 'printf'. It appears to use the builtin. --- [cet@clip ~]$ printf printf: usage: printf [-v var] format [arguments] [cet@clip