aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/expr.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-01 10:58:59 -0600
committerElliott Hughes <enh@google.com>2015-01-01 10:58:59 -0600
commiteeff24f941eee0696b36ec7115bb9e958e38ac10 (patch)
tree1f897b565c8385c51bcee1bd0e15f9167e1df0e9 /toys/pending/expr.c
parent88fe31338f02f8d189e5bfb9164e97b5b7e23d62 (diff)
downloadtoybox-eeff24f941eee0696b36ec7115bb9e958e38ac10.tar.gz
typo fixes
Diffstat (limited to 'toys/pending/expr.c')
-rw-r--r--toys/pending/expr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toys/pending/expr.c b/toys/pending/expr.c
index c54a7255..763ad02d 100644
--- a/toys/pending/expr.c
+++ b/toys/pending/expr.c
@@ -21,17 +21,17 @@ config EXPR
( ) : * / % + - != <= < >= > = & |
- Each constant and operator must be a sparate command line argument.
+ Each constant and operator must be a separate command line argument.
All operators are infix, meaning they expect a constant (or expression
that resolves to a constant) on each side of the operator. Operators of
the same priority (within each group above) are evaluated left to right.
- Parentheses may be used (as separate arguments) elevate the priority
+ Parentheses may be used (as separate arguments) to elevate the priority
of expressions.
Calling expr from a command shell requires a lot of \( or '*' escaping
to avoid interpreting shell control characters.
- The & and | operators are logical, not bitwise) and may operate on
+ The & and | operators are logical (not bitwise) and may operate on
strings (a blank string is "false"). Comparison operators may also
operate on strings (alphabetical sort).