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:
FRIGN
2015-01-25 16:49:46 +01:00
parent 1a8dfaca37
commit b98bf41ecc
3 changed files with 79 additions and 134 deletions

4
expr.c
View File

@@ -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;