[rrd-developers] [PATCH] docs: fix typo in rrdgraph manpage; Spell out RPN for clarity

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Feb 19 13:49:06 CET 2009


On Thu, Feb 19, 2009 at 01:26:48PM +0100, Bernhard Reutner-Fischer wrote:
>Hi there,

[Only recoding it here so it's easier to find for tobi]

0) Question WRT newlines in labels
How can i have a label (e.g. vertical label) that consists of two or more lines?
I've tried something like
$ rrdtool graph --vertical-label="one\ntwo\nthree"
but that doesn't seem to do what i want.

Suggestions?

1) Fix typo in rrdgraph manpage
sed -i -e s/centred/centered/g docs/rrdgraph.pod

Index: doc/rrdgraph.pod
===================================================================
--- doc/rrdgraph.pod	(revision 1746)
+++ doc/rrdgraph.pod	(working copy)
@@ -435,7 +435,7 @@
 
 [B<-W>|B<--watermark> I<string>]
 
-Adds the given string as a watermark, horizontally centred, at the bottom 
+Adds the given string as a watermark, horizontally centered, at the bottom 
 of the graph.
 
 =head2 Data and variables


2) Spell out RPN for clarity

Index: doc/rrdgraph_rpn.pod
===================================================================
--- doc/rrdgraph_rpn.pod	(revision 1746)
+++ doc/rrdgraph_rpn.pod	(working copy)
@@ -9,7 +9,8 @@
 =head1 DESCRIPTION
 
 If you have ever used a traditional HP calculator you already know
-B<RPN>. The idea behind B<RPN> is that you have a stack and push
+B<RPN> (Reverse Polish Notation).
+The idea behind B<RPN> is that you have a stack and push
 your data onto this stack. Whenever you execute an operation, it
 takes as many elements from the stack as needed. Pushing is done
 implicitly, so whenever you specify a number or a variable, it gets



More information about the rrd-developers mailing list