Discussion:
bug#33206: dc: bug in documenation DC_LINE_LENGTH
(too old to reply)
Rick Richardson
2018-10-30 11:06:02 UTC
Permalink
dc: bug in documenation DC_LINE_LENGTH

$ man dc

Doesn't say:

DC_LINE_LENGTH
This should be an integer specifying the number of characters
in
an output line for numbers. This includes the backslash and
new‐
line characters for long numbers. As an extension, the value
of
zero disables the multi-line feature. Any other value of
this
variable that is less than 3 sets the line length to 70.

But, it does work:

$ DC_LINE_LENGTH=0 dc
256k 1 17/p
.0588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647
Please fix the documenation.
--
Rick Richardson ***@gmail.com
Linux printer drivers for JBIG (GDI printers): Konica Minolta magicolor,
HP LaserJet, Samsung, Xerox, Lexmark, and Oki.
http://foo2zjs.rkkda.com/
Linux tools for geocaching http://geo.rkkda.com/
Gnome Manual Duplex http://sourceforge.net/projects/g-manual-duplex/
Bernhard Voelker
2018-10-30 22:08:23 UTC
Permalink
tag 33206 notabug
close 33206
stop
Post by Rick Richardson
dc: bug in documenation DC_LINE_LENGTH
$ man dc
DC_LINE_LENGTH
This should be an integer specifying the number of characters
in
an output line for numbers. This includes the backslash and
new‐
line characters for long numbers. As an extension, the value
of
zero disables the multi-line feature. Any other value of
this
variable that is less than 3 sets the line length to 70.
$ DC_LINE_LENGTH=0 dc
256k 1 17/p
.0588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647058823529411764705882352941176470588235294117647
Please fix the documenation.
You reached the GNU coreutils mailing list, but dc is not maintained here.
Therefore, I'm closing this issue in our bug tracker, and forwarding it
to the correct group:

$ dc --help | tail -n1
Email bug reports to: bug-***@gnu.org .

Have a nice day,
Berny

Continue reading on narkive:
Loading...