Fix a parameter parsing error in wc.
This commit is contained in:
parent
ec239c0232
commit
bba815ff38
8
src/wc.c
8
src/wc.c
@ -13,9 +13,9 @@
|
|||||||
/* Parameters */
|
/* Parameters */
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
W,
|
CM,
|
||||||
L,
|
L,
|
||||||
CM
|
W
|
||||||
};
|
};
|
||||||
|
|
||||||
/* States */
|
/* States */
|
||||||
@ -27,9 +27,9 @@ enum {
|
|||||||
/* Category names for count[] and result[] */
|
/* Category names for count[] and result[] */
|
||||||
enum {
|
enum {
|
||||||
/* character or byte */
|
/* character or byte */
|
||||||
|
COB,
|
||||||
LINES,
|
LINES,
|
||||||
WORDS,
|
WORDS
|
||||||
COB
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user