summaryrefslogtreecommitdiffstats
path: root/bin/expr
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-15 07:53:42 +0000
committerdd <dd@FreeBSD.org>2001-07-15 07:53:42 +0000
commita145482cf625d5f04072fd1d20b5c2062cbe8e47 (patch)
treed6c008b8ae357e7c4c800baa477713b82a6ee2f2 /bin/expr
parent0d7bb1fec635c87e914e57048716adc5a87cfe22 (diff)
downloadFreeBSD-src-a145482cf625d5f04072fd1d20b5c2062cbe8e47.zip
FreeBSD-src-a145482cf625d5f04072fd1d20b5c2062cbe8e47.tar.gz
Remove whitespace at EOL.
Diffstat (limited to 'bin/expr')
-rw-r--r--bin/expr/expr.128
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/expr/expr.1 b/bin/expr/expr.1
index 523cd1f..9da5269 100644
--- a/bin/expr/expr.1
+++ b/bin/expr/expr.1
@@ -42,7 +42,7 @@
.Sh DESCRIPTION
The
.Nm
-utility evaluates
+utility evaluates
.Ar expression
and writes the result on standard output.
.Pp
@@ -55,8 +55,8 @@ Operators are listed below in order of increasing precedence.
Operators with equal precedence are grouped within { } symbols.
.Bl -tag -width indent
.It Ar expr1 Li | Ar expr2
-Return the evaluation of
-.Ar expr1
+Return the evaluation of
+.Ar expr1
if it is neither an empty string nor zero;
otherwise, returns the evaluation of
.Ar expr2 .
@@ -66,7 +66,7 @@ Return the evaluation of
if neither expression evaluates to an empty string or zero;
otherwise, returns zero.
.It Ar expr1 Li "{=, >, >=, <, <=, !=}" Ar expr2
-Return the results of integer comparison if both arguments are integers;
+Return the results of integer comparison if both arguments are integers;
otherwise, returns the results of string comparison using the locale-specific
collation sequence.
The result of each comparison is 1 if the specified relation is true,
@@ -76,23 +76,23 @@ Return the results of addition or subtraction of integer-valued arguments.
.It Ar expr1 Li "{*, /, %}" Ar expr2
Return the results of multiplication, integer division, or remainder of integer-valued arguments.
.It Ar expr1 Li : Ar expr2
-The
+The
.Dq \&:
-operator matches
-.Ar expr1
-against
+operator matches
+.Ar expr1
+against
.Ar expr2 ,
which must be a regular expression. The regular expression is anchored
-to the beginning of the string with an implicit
+to the beginning of the string with an implicit
.Dq ^ .
.Pp
If the match succeeds and the pattern contains at least one regular
-expression subexpression
-.Dq "\e(...\e)" ,
-the string corresponding to
+expression subexpression
+.Dq "\e(...\e)" ,
+the string corresponding to
.Dq "\e1"
is returned;
-otherwise the matching operator returns the number of characters matched.
+otherwise the matching operator returns the number of characters matched.
If the match fails and the pattern contains a regular expression subexpression
the null string is returned;
otherwise 0.
@@ -101,7 +101,7 @@ otherwise 0.
Parentheses are used for grouping in the usual manner.
.Sh EXAMPLES
.Bl -enum
-.It
+.It
The following example adds one to the variable a.
.Dl a=`expr $a + 1`
.It
OpenPOWER on IntegriCloud