Add space-eating format modifier.

diff -urN rrdcollect-0.2.3/src/scan.c a/src/scan.c
--- rrdcollect-0.2.3/src/scan.c	2005-01-20 18:42:17.000000000 +0100
+++ a/src/scan.c	2005-07-14 22:49:30.761272871 +0200
@@ -172,7 +172,9 @@
 							if (!ignore)
 								counter[i++]->value = valuedup(value);
 							break;
-							
+						
+						case ' ':
+							goto rmspaces;
 							
 						default: /* should never happen! */
 							printf("Error: unrecognized pattern type: `%%%c'\n", *fmt);
@@ -196,7 +198,7 @@
 					return 0;
 				else
 					buf++;
-
+rmspaces:
 				/* if next char in the form isn't a "space" pattern harvest remaining spaces */
 				switch(*(fmt+1))
 				{
@@ -241,7 +243,7 @@
 		 	    *fmt == 'o' || *fmt == 'x' || *fmt == 'X' ||
 			    *fmt == 'c' || *fmt == 's') {
 				count++;
-			} else {
+			} else if (*fmt != ' ') {
 				printf("Error: unrecognized pattern type: `%%%c'\n", *fmt);
 				exit(2);
 			}
