Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14706 > unrolled thread
| Started by | bugs@feusi.co |
|---|---|
| First post | 2018-10-10 13:42 +0200 |
| Last post | 2018-10-10 13:42 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
Command not found with builtins and variables bugs@feusi.co - 2018-10-10 13:42 +0200
| From | bugs@feusi.co |
|---|---|
| Date | 2018-10-10 13:42 +0200 |
| Subject | Command not found with builtins and variables |
| Message-ID | <mailman.1956.1539184117.1284.bug-bash@gnu.org> |
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 top | Article view | gnu.bash.bug
csiph-web