HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
w
wc(1) wc(1)
WARNINGS
The wc command counts the number of newlines to determine the line count. If a text file has a final line
that is not terminated
EXAMPLES
Print the number of words and characters in file1:
wc -wm file1
The following is printed when the above command is executed:
words chars file1
where words is the number of words and chars is the number of characters in file1.
STANDARDS CONFORMANCE
wc: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
Section 11010 2 HP-UX Release 11i: December 2000
___
___