Timeline for Why does echo > 1 2 3 create a file called 1 with contents 2 3?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 24, 2020 at 11:09 | comment | added | Stéphane Chazelas | In the Bourne-like shell languages, whitespace (at least SPC, TAB, NL, more blank characters with some shells) are not the only token delimiters. <, >, |, ;, &, (, ) also are (or can be). See for example [[(a||b)&&(c)]]|{(true>/dev/null|cat&)} in bash which has many tokens but no whitespace. | |
| Jun 23, 2020 at 18:58 | history | answered | Chris Davies | CC BY-SA 4.0 |