|
|
1.1 root 1:
2:
3: wc Command wc
4:
5:
6:
7:
8: Count words, lines, and characters in files
9:
10: wwcc [-ccllww] [_f_i_l_e...]
11:
12: wc counts words, lines, and characters in each file. If no file
13: is given, wc uses the standard input. If more than one file is
14: given, wc also prints a total for all of the files.
15:
16: wc defines a word to be a string of characters surrounded by
17: white space (blanks, tabs, or newlines). It defines the number
18: of lines to be the number of newline characters in the file, plus
19: one.
20:
21: wc recognizes the following options:
22:
23: -cc Count only characters.
24:
25: -ll Count only lines.
26:
27: -ww Count only words.
28:
29: The default action is to print all counts.
30:
31: ***** See Also *****
32:
33: commands
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.