minishell icon indicating copy to clipboard operation
minishell copied to clipboard

[DECISION] How to handle `env` if there are arguments after it?

Open itislu opened this issue 2 years ago • 0 comments

Most of the times, the error message is:

bash-5.1$ env abc
env: ‘abc’: No such file or directory

However, if echo follows env, this happens:

bash-5.1$ env echo 1 2 3
1 2 3

itislu avatar Jan 17 '24 10:01 itislu