diff --git a/usr.bin/seq/seq.c b/usr.bin/seq/seq.c index e7f9fbca991c..f94ca0051755 100644 --- a/usr.bin/seq/seq.c +++ b/usr.bin/seq/seq.c @@ -207,7 +207,8 @@ numeric(const char *s) } if (ISEXP((unsigned char)*s)) { s++; - if (ISSIGN((unsigned char)*s)) { + if (ISSIGN((unsigned char)*s) || + isdigit((unsigned char)*s)) { s++; continue; }