source: trunk/minix/man/man1/wc.1@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 648 bytes
RevLine 
[9]1.TH WC 1
2.SH NAME
3wc \- count characters, words, and lines in a file
4.SH SYNOPSIS
5\fBwc\fR [\fB\-clw\fR] \fIfile\fR ...\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-c" "Print character count"
19.FL "\-l" "Print line count"
20.FL "\-w" "Print word count"
21.SH EXAMPLES
22.EX "wc file1 file2" "Print all three counts for both files"
23.EX "wc \-l file" "Print line count only"
24.SH DESCRIPTION
25.PP
26.I Wc
27reads each argument and computes the number of characters, words and lines
28it contains.
29A word is delimited by white space (space, tab, or line feed).
30If no flags are present, all three counts are printed.
Note: See TracBrowser for help on using the repository browser.