summaryrefslogtreecommitdiffstats
path: root/tcsh-6.18.02-order.patch
blob: b4fc0fa7ed63051ff481c4cd5de454b3ade95b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 2f2cdbb8e1f43b7dcc5a0d56ac19909f11f3ccad Mon Sep 17 00:00:00 2001
From: vcrhonek <vcrhonek@fedoraproject.org>
Date: Fri, 25 Jul 2014 08:40:59 +0200
Subject: [PATCH 6/8] Fix calculation order of operators description in tcsh
 manpage

---
 tcsh.man | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tcsh.man b/tcsh.man
index 91f6b93..94de311 100644
--- a/tcsh.man
+++ b/tcsh.man
@@ -1645,7 +1645,9 @@ They include
 .PP
 Here the precedence increases to the right, `==' `!=' `=~' and `!~', `<='
 `>=' `<' and `>', `<<' and `>>', `+' and `\-', `*' `/' and `%' being, in
-groups, at the same level.  The `==' `!=' `=~' and `!~' operators compare
+groups, at the same level.  When multiple operators which have same precedence
+are used in one expression, calculation must be done from operator of right
+side.  The `==' `!=' `=~' and `!~' operators compare
 their arguments as strings; all others operate on numbers.  The operators
 `=~' and `!~' are like `!=' and `==' except that the right hand side is a
 glob-pattern (see \fBFilename substitution\fR) against which the left hand
-- 
1.9.3