Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/bc/dist bc(1): Misc fixes in the DIFFERENCES se...



details:   https://anonhg.NetBSD.org/src/rev/7b102ca45607
branches:  trunk
changeset: 979714:7b102ca45607
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Jan 07 20:12:59 2021 +0000

description:
bc(1): Misc fixes in the DIFFERENCES section.

Make "last" an item, as intended.
Make operators literal.

diffstat:

 external/bsd/bc/dist/bc.1 |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r fa296b7add7d -r 7b102ca45607 external/bsd/bc/dist/bc.1
--- a/external/bsd/bc/dist/bc.1 Thu Jan 07 19:49:13 2021 +0000
+++ b/external/bsd/bc/dist/bc.1 Thu Jan 07 20:12:59 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: bc.1,v 1.3 2021/01/07 19:49:13 uwe Exp $
+.\" $NetBSD: bc.1,v 1.4 2021/01/07 20:12:59 uwe Exp $
 .\"
 .\" bc.1 - the bc manual
 .\"
@@ -1085,7 +1085,7 @@
 .It strings
 Strings are not allowed to contain NUL characters.
 POSIX says all characters must be included in strings.
-.Ic last
+.It Ic last
 POSIX
 .Nm
 does not have a
@@ -1094,7 +1094,9 @@
 Some implementations
 of
 .Nm
-use the period (.) in a similar way.
+use the period
+.Pq Ql \&.
+in a similar way.
 .It comparisons
 POSIX
 .Nm
@@ -1118,7 +1120,7 @@
 requires all expressions to be present in the
 .Ic for
 statement.
-.It && , || , \&!
+.It Li && , || , \&!
 POSIX
 .Nm
 does not have the logical operators.
@@ -1162,7 +1164,7 @@
 key word and the
 .Ic auto
 statement on the next line.
-.It  =+ , =- , =* , =/ , =% , =^
+.It Li =+ , =- , =* , =/ , =% , =^
 POSIX
 .Nm
 does not require these



Home | Main Index | Thread Index | Old Index