diff --git a/doc/manual/example1 b/doc/manual/example1
index f86b5bfcf97c87c53f8a7934740b8b9496f8281e..fac03d5f1197d23009719e0cc3925672361c9607 100644
--- a/doc/manual/example1
+++ b/doc/manual/example1
@@ -126,9 +126,9 @@
   other than zero. Otherwise what's between the second set of brackets will
   be executed. Let's look at that expression:
 
-	argc > 2 && argv[1] == "--traditional"
+	argc > 1 && argv[1] == "--traditional"
 
-  Loosely translated, this means: argc is greater than two and the second
+  Loosely translated, this means: argc is greater than one and the second
   element in the array argv is equal to the string "--traditional".
 
   Also note the comments:
diff --git a/doc/manual/example2 b/doc/manual/example2
index 11fffb14b1ac4e21bcdf3f41960bb78552cbf118..121572f8fc3675c73fee7707c9102febb5ec45a5 100644
--- a/doc/manual/example2
+++ b/doc/manual/example2
@@ -114,7 +114,7 @@
 
 		file_contents=replace(file_contents,argv[1],argv[2]);
 
-  Call the builtin function replace and replace oall occurances of the 'from'
+  Call the builtin function replace and replace all occurances of the 'from'
   string with the 'to' string and assign the new result to the variable
   'file_contents'.
 
diff --git a/doc/manual/example3 b/doc/manual/example3
index 0d9552a40adb0e82e8d1d66b1a3f1b61cab58be7..1ec71ccf09706c72deed9cf296c75a3a9ad13d4f 100644
--- a/doc/manual/example3
+++ b/doc/manual/example3
@@ -64,7 +64,7 @@
 
 	  int offset=0;
 
-  Then ther is a global variable called offset which is initalized to zero.
+  Then there is a global variable called offset which is initalized to zero.
   (each instance of this class will have it's own instance of this variable,
    so it is not truly global, but..) 
   Note that the initalization is done when the class is cloned. (or
diff --git a/doc/operators/logical_and b/doc/operators/logical_and
index 9232678f5bd976878364d41b8da1483983206ce4..fcd4f4d037b03bea0dfb5cea0b8a0b199c735ae2 100644
--- a/doc/operators/logical_and
+++ b/doc/operators/logical_and
@@ -10,7 +10,6 @@ DESCRIPTION
 	evaluates a and returns zero if a is zero. Otherwise it returns
 	b. Note that b is not evaluated at all if a returns zero.
 
-
 KEYWORDS
 	operators