summaryrefslogtreecommitdiff
path: root/usr.bin/osh/osh.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/osh/osh.c')
-rw-r--r--usr.bin/osh/osh.c3
1 files changed, 3 insertions, 0 deletions
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') {