3 ms·
I think that rm in particular is usually a shell built-in, not a separate executable, so it does have access to the exact arguments. But your larger point stil
by drdec 5y ago
I think that rm in particular is usually a shell built-in, not a separate executable, so it does have access to the exact arguments. But your larger point still stands.
- Karellen 5y agoReally? It doesn't appear to be on bash, csh, ksh, tcsh, or zsh. Which shells do have `rm` builtin? https://manpages.debian.org/bullseye/bash/bash.1.en.html#SHELL_BUILTIN_COMMANDS https://manpages.debian.org/bullseye/bash/bash.1.en.html#SHE... https://manpages.debian.org/bullseye/csh/csh.1.en.html#Built-in_commands https://manpages.debian.org/bullseye/csh/csh.1.en.html#Built... <https://manpages.debian.org/bullseye/ksh/ksh.1.en.html#Built-in_Commands. https://manpages.debian.org/bullseye/ksh/ksh.1.en.html#Built...> https://manpages.debian.org/bullseye/tcsh/tcsh.1.en.html#Builtin_commands https://manpages.debian.org/bullseye/tcsh/tcsh.1.en.html#Bui... https://manpages.debian.org/bullseye/zsh-common/zshbuiltins.1.en.html https://manpages.debian.org/bullseye/zsh-common/zshbuiltins....