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