1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 1992-2011 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* Glenn Fowler <gsf@research.att.com> * 1N/A* David Korn <dgk@research.att.com> * 1N/A***********************************************************************/ 1N/A * AT&T Bell Laboratories 1N/A * count the number of bytes, words, and lines in a file 1N/A"[-?\n@(#)$Id: wc (AT&T Research) 2009-11-28 $\n]" 1N/A"[+NAME?wc - print the number of bytes, words, and lines in files]" 1N/A"[+DESCRIPTION?\bwc\b reads one or more input files and, by default, " 1N/A "for each file writes a line containing the number of newlines, " 1N/A "\aword\as, and bytes contained in each file followed by the " 1N/A "file name to standard output in that order. A \aword\a is " 1N/A "defined to be a non-zero length string delimited by \bisspace\b(3) " 1N/A"[+?If more than one file is specified, \bwc\b writes a total count " 1N/A "for all of the named files with \btotal\b written instead " 1N/A "of the file name.]" 1N/A"[+?By default, \bwc\b writes all three counts. Options can specified " 1N/A "so that only certain counts are written. The options \b-c\b " 1N/A "and \b-m\b are mutually exclusive.]" 1N/A"[+?If no \afile\a is given, or if the \afile\a is \b-\b, \bwc\b " 1N/A "reads from standard input and no filename is written to standard " 1N/A "output. The start of the file is defined as the current offset.]" 1N/A"[l:lines?List the line counts.]" 1N/A"[w:words?List the word counts.]" 1N/A"[c:bytes|chars:chars?List the byte counts.]" 1N/A"[m|C:multibyte-chars?List the character counts.]" 1N/A"[q:quiet?Suppress invalid multibyte character warnings.]" 1N/A"[L:longest-line|max-line-length?List the longest line length; the newline," 1N/A "if any, is not counted in the length.]" 1N/A"[N!:utf8?For \bUTF-8\b locales \b--noutf8\b disables \bUTF-8\b " 1N/A "optimzations and relies on the native \bmbtowc\b(3).]" 1N/A "[+0?All files processed successfully.]" 1N/A "[+>0?One or more files failed to open or could not be read.]" 1N/A"[+SEE ALSO?\bcat\b(1), \bisspace\b(3)]" 1N/A error(
2,
"-c and -C are mutually exclusive");