diff options
| -rw-r--r-- | src/pipe.c | 4 | ||||
| -rwxr-xr-x | tsarc | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -38,7 +38,9 @@ void await_change(void) { break; } - if (isspace(chr)) { + // octal 201 is an unused ascii character, so it's safe to use as a + // delimiter + if (chr == '\201') { if (chr_on == 0) { i++; continue; @@ -1,2 +1,3 @@ #! /bin/sh -echo "$*" > /tmp/tsarc.pipe +printf "%s\201" "$@" > /tmp/tsarc.pipe + |
