From 38da49b97b529815045c23cfef4820a56179eebb Mon Sep 17 00:00:00 2001 From: tjg Date: Tue, 2 Oct 2001 13:00:14 +0000 Subject: 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. --- tripping.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tripping.c') diff --git a/tripping.c b/tripping.c index 911d229..1adcc37 100644 --- a/tripping.c +++ b/tripping.c @@ -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; -- cgit v1.2.3