Files
oldlinux-files/Minix/2.0.0/wwwman/man1/wc.1.html
2024-02-19 00:21:39 -05:00

72 lines
1002 B
HTML

<HTML>
<HEAD>
<TITLE>wc(1)</TITLE>
</HEAD>
<BODY>
<H1>wc(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
wc - count characters, words, and lines in a file
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>wc</STRONG> [<STRONG>-clw</STRONG>] <EM>file</EM> ...
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-c</STRONG> Print character count
<STRONG>-l</STRONG> Print line count
<STRONG>-w</STRONG> Print word count
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>wc</STRONG> <STRONG>file1</STRONG> <STRONG>file2</STRONG> # Print all three counts for both files
<STRONG>wc</STRONG> <STRONG>-l</STRONG> <STRONG>file</STRONG> # Print line count only
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Wc</EM> 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.
</PRE>
</BODY>
</HTML>