home *** CD-ROM | disk | FTP | other *** search
-
-
-
- WC(1L) WC(1L)
-
-
- NNAAMMEE
- wc - print the number of bytes, words, and lines in files
-
- SSYYNNOOPPSSIISS
- wwcc [-clw] [--bytes] [--chars] [--lines] [--words] [--help]
- [--version] [file...]
-
- DDEESSCCRRIIPPTTIIOONN
- This manual page documents the GNU version of wwcc. wwcc
- counts the number of bytes, whitespace-separated words,
- and newlines in each given file, or the standard input if
- none are given or when a file named `-' is given. It
- prints one line of counts for each file, and if the file
- was given as an argument, it prints the filename following
- the counts. If more than one filename is given, wwcc prints
- a final line containing the cumulative counts, with the
- filename `total'. The counts are printed in the order:
- lines, words, bytes.
-
- By default, wwcc prints all three counts. Options can spec-
- ify that only certain counts be printed. Options do not
- undo others previously given, so wwcc _-_-_b_y_t_e_s _-_-_w_o_r_d_s prints
- both the byte counts and the word counts.
-
- OOPPTTIIOONNSS
- _-_c_, _-_-_b_y_t_e_s_, _-_-_c_h_a_r_s
- Print only the byte counts.
-
- _-_w_, _-_-_w_o_r_d_s
- Print only the word counts.
-
- _-_l_, _-_-_l_i_n_e_s
- Print only the newline counts.
-
- _-_-_h_e_l_p Print a usage message and exit with a non-zero sta-
- tus.
-
- _-_-_v_e_r_s_i_o_n
- Print version information on standard error then
- exit.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- FSF GNU Text Utilities 1
-
-
-