From 65a64269607a4a931c611fe7fe189949f417e868 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 22 Dec 2008 07:20:17 +0000 Subject: [PATCH] Fixes some typos by Sebastian Harl. git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1717 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/doc/bin_dec_hex.pod | 5 +++-- program/doc/rpntutorial.pod | 4 ++-- program/doc/rrdbuild.pod | 12 ++++++------ program/doc/rrdcgi.pod | 2 +- program/doc/rrdgraph-old.pod | 16 ++++++++-------- program/doc/rrdgraph.pod | 10 +++++----- program/doc/rrdgraph_data.pod | 2 +- program/doc/rrdgraph_examples.pod | 2 -- program/doc/rrdgraph_graph.pod | 8 ++++---- program/doc/rrdtool.pod | 10 +++++----- program/doc/rrdtutorial.pod | 8 ++++---- 11 files changed, 39 insertions(+), 40 deletions(-) diff --git a/program/doc/bin_dec_hex.pod b/program/doc/bin_dec_hex.pod index 7a2adf5d..743c63d8 100644 --- a/program/doc/bin_dec_hex.pod +++ b/program/doc/bin_dec_hex.pod @@ -160,7 +160,8 @@ you're writing in. Some of the prefixes are "0x" for C, "$" for Pascal, "#" for HTML. It is common to assume that if a number starts with a zero, it is octal. It does not matter what is used as long as you know what it is. I will use "0x" for hexadecimal, "%" for binary -and "0" for octal. The following numbers are all the same, just their represenatation (base) is different: 021 0x11 17 %00010001 +and "0" for octal. The following numbers are all the same, just their +representation (base) is different: 021 0x11 17 %00010001 To do arithmetics and conversions you need to understand one more thing. It is something you already know but perhaps you do not "see" it yet: @@ -256,7 +257,7 @@ is therefore "0" and we now have 0xA0??. (which is just plain 16) four times and write down "4" to get 0xA04?. Subtract 64 from 69 (69 - 4*16) and the last digit is 5 --> 0xA045. -The other method builds ub the number from the right. Let's try 41'029 +The other method builds up the number from the right. Let's try 41'029 again. Divide by 16 and do not use fractions (only whole numbers). 41'029 / 16 is 2'564 with a remainder of 5. Write down 5. diff --git a/program/doc/rpntutorial.pod b/program/doc/rpntutorial.pod index b3beac1d..b830f270 100644 --- a/program/doc/rpntutorial.pod +++ b/program/doc/rpntutorial.pod @@ -55,7 +55,7 @@ GT, GE and EQ operators. While compound expressions can look overly complex, they can be considered elegantly simple. To quickly comprehend RPN expressions, -you must know the the algorithm for evaluating RPN expressions: +you must know the algorithm for evaluating RPN expressions: iterate searches from the left to the right looking for an operator. When it's found, apply that operator by popping the operator and some number of values (and by definition, not operators) off the stack. @@ -102,7 +102,7 @@ with "A": 2) A,10,input,IF eval is A,10,input,IF read "if A then 10 else input". Now replace A with it's verbose -description againg and--voila!--you have a easily readable description +description again and--voila!--you have a easily readable description of the expression: if input > 10 then 10 else input diff --git a/program/doc/rrdbuild.pod b/program/doc/rrdbuild.pod index 44fc962f..83fef534 100644 --- a/program/doc/rrdbuild.pod +++ b/program/doc/rrdbuild.pod @@ -79,9 +79,9 @@ Just add a compiler and the gnome development package: pkg install sunstudioexpress pkg install SUNWgnome-common-devel -There is a problem with F on opensolaris. It suggests that +There is a problem with F on OpenSolaris. It suggests that xrender is required for compilation with cairo. This is not true and also -bad since opensolaris does not include an F file. Use perl to +bad since OpenSolaris does not include an F file. Use Perl to fix this: perl -i~ -p -e 's/(Requires.*?)\s*xrender.*/$1/' /usr/lib/pkgconfig/cairo.pc @@ -90,7 +90,7 @@ Make sure rrdtool finds your new compiler export PATH=/opt/SunStudioExpress/bin -Since there does not seem to ba a viable msgfmt tool on opensolaris (short +Since there does not seem to be a viable msgfmt tool on OpenSolaris (short of installing it yourself). You have to call configure with the --disable-libintl @@ -139,7 +139,7 @@ expectations, so you may want to compile their latest versions. =head2 General build tips for AIX -If you are working with AIX, you may find the the B<--disable-shared> option +If you are working with AIX, you may find the B<--disable-shared> option will cause things to break for you. In that case you may have to install the shared libraries into the rrdtool PREFIX and work with B<--disable-static> instead. @@ -192,7 +192,7 @@ if you are using the Sun Studio/Forte compiler, you may also want to set =back -If you have GNUmake installed and it is not called 'make', +If you have GNU make installed and it is not called 'make', then do export MAKE=gmake @@ -344,7 +344,7 @@ their current state. $MAKE $MAKE install -SOLARIS HINT: if you want to build the perl module for the native perl (the +SOLARIS HINT: if you want to build the Perl module for the native Perl (the one shipping with Solaris) you will need the Sun Forte compiler installed on your box or you have to hand-tune bindings/perl-shared/Makefile while building! diff --git a/program/doc/rrdcgi.pod b/program/doc/rrdcgi.pod index 4c81e018..e34d4c00 100644 --- a/program/doc/rrdcgi.pod +++ b/program/doc/rrdcgi.pod @@ -193,7 +193,7 @@ you want to use as source for your graph. =head1 EXAMPLE 3 This example shows how to handle the case where the RRD, graphs and -cgi-bins are seperate directories +cgi-bins are separate directories #!/.../bin/rrdcgi diff --git a/program/doc/rrdgraph-old.pod b/program/doc/rrdgraph-old.pod index f35e0cd4..5bbf2a6e 100644 --- a/program/doc/rrdgraph-old.pod +++ b/program/doc/rrdgraph-old.pod @@ -161,7 +161,7 @@ of 0 to prevent any scaling of the y-axis values. =item B<-v>|B<--vertical-label> I -vertical label on the left side of the graph. This is normally used to +Vertical label on the left side of the graph. This is normally used to specify the units used. =item B<-w>|B<--width> I (default 400 pixel) @@ -255,7 +255,7 @@ Define a title to be written into the graph By default rrdgraph calculates the width of one pixel in the time domain and tries to get data at that resolution from the RRD. With this switch you can -override this behaviour. If you want rrdgraph to get data at 1 hour +override this behavior. If you want rrdgraph to get data at 1 hour resolution from the RRD, then you can set the step to 3600 seconds. Note, that a step smaller than 1 pixel will be silently ignored. @@ -300,24 +300,24 @@ values: =item +, -, *, /, % -pops two values from the stack applies the selected operator and pushes +Pops two values from the stack applies the selected operator and pushes the result back onto the stack. The % operator stands for the modulo operation. =item SIN, COS, LOG, EXP, FLOOR, CEIL -pops one value from the stack, applies the selected function and pushes +Pops one value from the stack, applies the selected function and pushes the result back onto the stack. =item LT, LE, GT, GE, EQ -pops two values from the stack, compares them according to the selected +Pops two values from the stack, compares them according to the selected condition and pushes either 1 back onto the stack if the condition is true and 0 if the condition was not true. =item IF -pops three values from the stack. If the last value is not 0, the +Pops three values from the stack. If the last value is not 0, the second value will be pushed back onto the stack, otherwise the first value is pushed back. @@ -328,11 +328,11 @@ E will be sent back to the stack. =item MIN, MAX -selects the lesser or larger of the two top stack values respectively +Selects the lesser or larger of the two top stack values respectively =item LIMIT -replaces the value with I<*UNKNOWN*> if it is outside the limits specified +Replaces the value with I<*UNKNOWN*> if it is outside the limits specified by the two values above it on the stack. CDEF:a=alpha,0,100,LIMIT diff --git a/program/doc/rrdgraph.pod b/program/doc/rrdgraph.pod index 6cb02343..d4efeb8b 100644 --- a/program/doc/rrdgraph.pod +++ b/program/doc/rrdgraph.pod @@ -170,7 +170,7 @@ and thus the throughput may be higher than the WAN line speed. In order to avoid anti-aliasing blurring effects rrdtool snaps points to device resolution pixels, this results in a crisper -aperance. If this is not to your liking, you can use this switch +appearance. If this is not to your liking, you can use this switch to turn this behaviour off. Gridfitting is turned off for PDF, EPS, SVG output by default. @@ -225,7 +225,7 @@ placed every I