Files
oldlinux-files/Minix/CD-ROM-2.0/MINIX/MANUALS/CAT1/WC.1
2024-02-19 00:21:39 -05:00

60 lines
812 B
Groff

WC(1) Minix Programmer's Manual WC(1)
NAME
wc - count characters, words, and lines in a file
SYNOPSIS
wc [-clw] file ...
OPTIONS
-c Print character count
-l Print line count
-w Print word count
EXAMPLES
wc file1 file2 # Print all three counts for both files
wc -l file # Print line count only
DESCRIPTION
Wc reads each argument and computes the number of characters, words and
lines it contains. A word is delimited by white space (space, tab, or
line feed). If no flags are present, all three counts are printed.
1