diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 05:47:28 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2002-06-09 05:47:28 +0000 |
commit | aa788cfe003b0c53a76b1fb2782c50b95c665905 (patch) | |
tree | 4f31fc9073ed0abd769fa8bbb17768007717136c /bin/expr | |
parent | aaee1c091ba0c57cec98797351db4b0862b0bf1f (diff) |
knf
Diffstat (limited to 'bin/expr')
-rw-r--r-- | bin/expr/expr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/expr/expr.c b/bin/expr/expr.c index 27c9de0f038..81391e3a458 100644 --- a/bin/expr/expr.c +++ b/bin/expr/expr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: expr.c,v 1.10 2002/02/16 21:27:07 millert Exp $ */ +/* $OpenBSD: expr.c,v 1.11 2002/06/09 05:47:27 todd Exp $ */ /* $NetBSD: expr.c,v 1.3.6.1 1996/06/04 20:41:47 cgd Exp $ */ /* @@ -94,7 +94,7 @@ is_integer(vp, r) } /* - * POSIX.2 defines an "integer" as an optional unary minus + * POSIX.2 defines an "integer" as an optional unary minus * followed by digits. */ s = vp->u.s; @@ -274,7 +274,7 @@ eval5() errx(2, "%s", errbuf); } - /* compare string against pattern -- remember that patterns + /* compare string against pattern -- remember that patterns are anchored to the beginning of the line */ if (regexec(&rp, l->u.s, 2, rm, 0) == 0 && rm[0].rm_so == 0) { if (rm[1].rm_so >= 0) { |