bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Mention "modulo" in documentation


From: Sven Neuhaus
Subject: [PATCH] Mention "modulo" in documentation
Date: Thu, 05 Jun 2014 10:20:15 +0200

When you search the bash manpage for "modulo", you'll find nothing. Bash
of course does support the modulo function ("%") as part of the
arithmetic evaluation, but it is labelled "remainder" in the manpage.

Therefore, I suggest this little documentation patch:

diff --git a/doc/bash.1 b/doc/bash.1
index ec41462..eabb180 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -4106,7 +4106,7 @@ logical and bitwise negation
 exponentiation
 .TP
 .B * / %
-multiplication, division, remainder
+multiplication, division, remainder (modulo)
 .TP
 .B + \-
 addition, subtraction
diff --git a/doc/bashref.texi b/doc/bashref.texi
index eca3c26..c29fec2 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -6607,7 +6607,7 @@ logical and bitwise negation
 exponentiation

 @item * / %
-multiplication, division, remainder
+multiplication, division, remainder (modulo)

 @item + -
 addition, subtraction


Cheers,
-Sven
-- 
PS: As I am not subscribed to bug-bash, please CC me on replies
    to the list.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]