Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14706
| From | bugs@feusi.co |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Command not found with builtins and variables |
| Date | 2018-10-10 13:42 +0200 |
| Message-ID | <mailman.1956.1539184117.1284.bug-bash@gnu.org> (permalink) |
Hi, I'm not exactly sure if the following is actually a bug or whether bash is actually supposed to behave like this. However, I couldn't find any documentation concerning it so I decided to ask. The thing I noticed is that when setting a variable and then running the command "time", bash reports "command not found". For example, the command: TEST=1 time ls Results in "bash: time: command not found" At first, I believed that this was inherent to the bash builtins but I discovered that TEST=1 cd Works without any problems, so I am confused as to why bash behaves in this manner. Is there any underlying reason to this behaviour or is this a bug? cheers, project-repo
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Command not found with builtins and variables bugs@feusi.co - 2018-10-10 13:42 +0200
csiph-web