projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d79a327
)
junkcode: spelling fixes.
author
Brad Hards
<bradh@frogmouth.net>
Sun, 16 Jan 2011 06:16:46 +0000
(17:16 +1100)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 17 Jan 2011 05:58:53 +0000
(16:28 +1030)
junkcode/codedr@gmail.com-grok/grok.c
patch
|
blob
|
history
junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.c
patch
|
blob
|
history
junkcode/tinkertim@gmail.com-grawk/grawk.c
patch
|
blob
|
history
diff --git
a/junkcode/codedr@gmail.com-grok/grok.c
b/junkcode/codedr@gmail.com-grok/grok.c
index 8ae00e65898ad8bb5b83bdbdb380179d4b7c1a88..e09ed70d0cef717759afcf9f78c792ca28bf007d 100644
(file)
--- a/
junkcode/codedr@gmail.com-grok/grok.c
+++ b/
junkcode/codedr@gmail.com-grok/grok.c
@@
-15,7
+15,7
@@
**
** codedr@gmail.com
**
**
** codedr@gmail.com
**
- ** Licen
c
e: Public Domain
+ ** Licen
s
e: Public Domain
*/
int
*/
int
diff --git
a/junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.c
b/junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.c
index a241f68fd2918b4b58bafd419efcb30828215a68..c92148b9c35947a8b5b9ec76e0581bc64b87bb58 100644
(file)
--- a/
junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.c
+++ b/
junkcode/iasoule32@gmail.com-polynomial/polynomial_adt.c
@@
-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));
if(pAdt->head == NULL)
Node *n = malloc(sizeof(Node));
if(pAdt->head == NULL)
diff --git
a/junkcode/tinkertim@gmail.com-grawk/grawk.c
b/junkcode/tinkertim@gmail.com-grawk/grawk.c
index 14e5cc4af74be6560055a5c8479f4abe1a02ec7c..27a6b3493d84a5cc0b2c4817869ecc4c94682a7a 100644
(file)
--- a/
junkcode/tinkertim@gmail.com-grawk/grawk.c
+++ b/
junkcode/tinkertim@gmail.com-grawk/grawk.c
@@
-124,7
+124,7
@@
static void usage(void)
"awk-style print statement; defines "
"output fields\n");
printf("\nExamples:\n");
"awk-style print statement; defines "
"output fields\n");
printf("\nExamples:\n");
- printf(" Retr
ei
ve joe123's home directory from /etc/passwd:\n");
+ printf(" Retr
ie
ve 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);
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);