Timeline for Why is `[` a shell builtin and `[[` a shell keyword?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 3, 2015 at 6:06 | history | edited | Anthon | CC BY-SA 3.0 |
edited body
|
| Feb 10, 2015 at 6:46 | comment | added | Volker Siegel |
@JonathanLeffler Oh, thanks, I missed that [ is both - that means some changes...
|
|
| Feb 10, 2015 at 6:15 | comment | added | Jonathan Leffler |
Note that although [ was originally an external command, it was added as a built-in to the shell quite early on, probably by the time Unix System III was released and definitely before Unix System V was released. So, the 'extra process' hasn't been a problem for ages. However, the syntax remained unchanged — it was treated as if it would be an external command.
|
|
| Feb 10, 2015 at 6:07 | history | edited | Volker Siegel | CC BY-SA 3.0 |
Add details.
|
| S Feb 10, 2015 at 5:55 | history | edited | Volker Siegel | CC BY-SA 3.0 |
Fix ] to [ etc.
|
| S Feb 10, 2015 at 5:55 | history | suggested | Jonathan Leffler | CC BY-SA 3.0 |
Fix ] to [ etc.
|
| Feb 10, 2015 at 5:47 | review | Suggested edits | |||
| S Feb 10, 2015 at 5:55 | |||||
| Feb 9, 2015 at 19:22 | history | answered | Volker Siegel | CC BY-SA 3.0 |