Add mandoc-manpage for expr(1)
and mark it as finished in README. Upon further checking, expr(1) turns out to be implicitly UTF-8 compliant.
This commit is contained in:
4
expr.c
4
expr.c
@@ -182,11 +182,11 @@ lex(char *p)
|
||||
}
|
||||
|
||||
/* one-char operand */
|
||||
if (*p && !*(p+1) && strchr(ops, *p))
|
||||
if (*p && !*(p + 1) && strchr(ops, *p))
|
||||
return *p;
|
||||
|
||||
/* two-char operand */
|
||||
if (*p && *(p+1) == '=' && !*(p+2)) {
|
||||
if (*p && *(p + 1) == '=' && !*(p + 2)) {
|
||||
switch (*p) {
|
||||
case '>':
|
||||
return GE;
|
||||
|
Reference in New Issue
Block a user