Commit | Line | Data |
---|---|---|
1 | .TH WC 1 | |
2 | .SH NAME | |
3 | wc \- word count | |
4 | .SH SYNOPSIS | |
5 | .B wc | |
6 | [ | |
7 | .B \-lwc | |
8 | ] | |
9 | [ name ... ] | |
10 | .SH DESCRIPTION | |
11 | .I Wc | |
12 | counts lines, words and characters in the named files, | |
13 | or in the standard input if no name appears. | |
14 | A word is a maximal string of characters | |
15 | delimited by spaces, tabs or newlines. | |
16 | .PP | |
17 | If the optional argument is present, | |
18 | just the specified counts (lines, words or characters) | |
19 | are selected by the letters | |
20 | .BR l , | |
21 | .BR w , | |
22 | or | |
23 | .BR c . |