MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | xwc [-clw] <file> |
| 3 | or |
| 4 | xwc [-clw] (when reading from a pipe) |
| 5 | |
| 6 | DESCRIPTION |
| 7 | xwc counts the number of bytes, whitespace-separated words, and new- |
| 8 | lines in a given file, or reading from a pipe. It prints one line |
| 9 | of counts, and if the file name was given as an argument, it prints |
| 10 | the filename following the counts. The counts are printed in the |
| 11 | order: lines, words, bytes. |
| 12 | By default, wc prints all three counts. |
| 13 | |
| 14 | OPTIONS: |
| 15 | -c print character count |
| 16 | |
| 17 | -l print line count |
| 18 | |
| 19 | -w print word count |
| 20 | |
| 21 | EXAMPLES |
| 22 | |