Commit 2b767ab8 authored by Brad Hards's avatar Brad Hards Committed by Rusty Russell

junkcode: spelling fixes.

parent d79a3276
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
** **
** codedr@gmail.com ** codedr@gmail.com
** **
** Licence: Public Domain ** License: Public Domain
*/ */
int int
......
...@@ -14,7 +14,7 @@ PolyAdt *create_adt(int hp) ...@@ -14,7 +14,7 @@ PolyAdt *create_adt(int hp)
void insert_term(PolyAdt *pAdt, float c, int e) 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)); Node *n = malloc(sizeof(Node));
if(pAdt->head == NULL) if(pAdt->head == NULL)
......
...@@ -124,7 +124,7 @@ static void usage(void) ...@@ -124,7 +124,7 @@ static void usage(void)
"awk-style print statement; defines " "awk-style print statement; defines "
"output fields\n"); "output fields\n");
printf("\nExamples:\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("\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("\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); printf("\tcat file.txt | %s \"^@\" '$2,$3,$4'\n", progname);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment