diff options
| author | tjg <tjg> | 2001-10-02 13:00:14 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:19 +0100 |
| commit | 38da49b97b529815045c23cfef4820a56179eebb (patch) | |
| tree | e0d300d5b7ab5dffdaca878ac0eed5a01d39a9a8 /tripping.c | |
| parent | ebb96bbbc075c304c6f8cbf8c4d301a35fd64114 (diff) | |
Bug: the ^A bug is fixed.
Bug: it's no longer possible to use parentheses to sneak a word that
needs quoting past the "quoting detector", so `fn x { echo $(x.y) }'
now works both in the current rc and its descendants.
Diffstat (limited to 'tripping.c')
| -rw-r--r-- | tripping.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -10,6 +10,10 @@ void out0(void) { putchar('\n'); } +void ctrl_a(void) { + puts("a\001ab\002b"); +} + void makenonblock(void) { int flags; @@ -25,6 +29,9 @@ int main(int argc, char **argv) { case '0': out0(); break; + case 'a': + ctrl_a(); + break; case 'n': makenonblock(); break; |