blob: aa13147e67f1f1df20218f516fdcf1214f8130d9 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
2 xwc [-clw] <file>
3 or
4 xwc [-clw] (when reading from a pipe)
5
6DESCRIPTION
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
14OPTIONS:
15 -c print character count
16
17 -l print line count
18
19 -w print word count
20
21EXAMPLES
22