For an external command which takes a command as its argument, must the argument be an external command, not a shell's builtin command?
I ask this question, based on the following two examples
the external command
timecan only time an external command.the external command
whichcan only show info about an external command.If a builtin command can take a command as its argument, can the argument be either a builtin command or an external command?
If not, please provide counterexamples besides explanations.
timeisn't buitlin, but keyword in bash. – Tim Mar 17 '16 at 19:08