]> git.ozlabs.org Git - ccan/commitdiff
junkcode: spelling fixes.
authorBrad Hards <bradh@frogmouth.net>
Sun, 16 Jan 2011 06:16:46 +0000 (17:16 +1100)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:58:53 +0000 (16:28 +1030)
junkcode/codedr@gmail.com-grok/grok.c
junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.c
junkcode/tinkertim@gmail.com-grawk/grawk.c

index 8ae00e65898ad8bb5b83bdbdb380179d4b7c1a88..e09ed70d0cef717759afcf9f78c792ca28bf007d 100644 (file)
@@ -15,7 +15,7 @@
  **
  ** codedr@gmail.com
  **
- ** Licence: Public Domain
+ ** License: Public Domain
  */
 
 int
index a241f68fd2918b4b58bafd419efcb30828215a68..c92148b9c35947a8b5b9ec76e0581bc64b87bb58 100644 (file)
@@ -14,7 +14,7 @@ PolyAdt *create_adt(int hp)
 
 void insert_term(PolyAdt *pAdt, float c, int e)
 {
-    assert(pAdt != NULL); //assume client code didnt call create_adt()
+    assert(pAdt != NULL); //assume client code didn't call create_adt()
     Node *n = malloc(sizeof(Node));
        
     if(pAdt->head == NULL)
index 14e5cc4af74be6560055a5c8479f4abe1a02ec7c..27a6b3493d84a5cc0b2c4817869ecc4c94682a7a 100644 (file)
@@ -124,7 +124,7 @@ static void usage(void)
                "awk-style print statement; defines "
                "output fields\n");
        printf("\nExamples:\n");
-       printf("  Retreive joe123's home directory from /etc/passwd:\n");
+       printf("  Retrieve joe123's home directory from /etc/passwd:\n");
        printf("\t%s -F : \"joe123\" '$6' /etc/passwd\n", progname);
        printf("\n  Find fields 2 3 and 4 on lines that begin with @ from stdin:\n");
        printf("\tcat file.txt | %s \"^@\" '$2,$3,$4'\n", progname);