From efc4464d0227a51069fef5e80ef2ec05396e0754 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 28 Jun 2025 18:49:26 -0400 Subject: usr.bin: osh: Ignore tab as input Signed-off-by: Ian Moffett --- usr.bin/osh/osh.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr.bin/osh') diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c index aa8ef27..0e017e4 100644 --- a/usr.bin/osh/osh.c +++ b/usr.bin/osh/osh.c @@ -224,6 +224,9 @@ getstr(void) } c = (char)input; + if (c == '\t') { + continue; + } /* return on newline */ if (c == '\n') { -- cgit v1.2.3