From af3fa90e8bb41c306c5fe2d2cf105db6bbabd1d9 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 19 Oct 2021 10:53:45 -0700 Subject: Feat: word operators and more robust crashing Added the length and concatenate operators. Slightly improved the robustness on syntax errors. --- sys/cmd/rc/exec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/cmd/rc/exec.h') diff --git a/sys/cmd/rc/exec.h b/sys/cmd/rc/exec.h index ad53365..566c4a3 100644 --- a/sys/cmd/rc/exec.h +++ b/sys/cmd/rc/exec.h @@ -16,8 +16,11 @@ void Xreadcmd(void); void Xunlocal(void); void Xassign(void); void Xbasic(void); // Xbasic(args) run command and wait for result -void Xerror(char*); void Xword(void); +void Xcount(void); +void Xflat(void); + +void Xerror(char*); /* builtin commands */ void xfg(void); -- cgit v1.2.1