*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> wc (1)              



NAME    [Toc]    [Back]

       wc - print the number of bytes, words, and lines in files

SYNOPSIS    [Toc]    [Back]

       wc [OPTION]... [FILE]...

DESCRIPTION    [Toc]    [Back]

       Print  line,  word,  and byte counts for each FILE, and a total line if
       more than one FILE is specified.  With no FILE, or when FILE is -, read
       standard input.

       -c, --bytes, --chars
	      print the byte counts

       -l, --lines
	      print the newline counts

       -L, --max-line-length
	      print the length of the longest line

       -w, --words
	      print the word counts

       --help display this help and exit

	      output version information and exit

AUTHOR    [Toc]    [Back]

       Written by Paul Rubin and David MacKenzie.

REPORTING BUGS    [Toc]    [Back]

       Report bugs to <bug-textutils@gnu.org>.

COPYRIGHT    [Toc]    [Back]

       Copyright (C) 1999 Free Software Foundation, Inc.
       This is free software; see the source for copying conditions.  There is
       NO warranty; not even for MERCHANTABILITY or FITNESS FOR  A  PARTICULAR

SEE ALSO    [Toc]    [Back]

       The  full  documentation  for wc is maintained as a Texinfo manual.  If
       the info and wc programs are properly installed at your site, the  command

	      info wc

       should give you access to the complete manual.

GNU textutils 2.0		   July 2001				 WC(1)
[ Back ]
 Similar pages
Name OS Title
wc HP-UX count words, lines, and bytes or characters in a file
wc Tru64 Counts the lines, words, characters, and bytes in a file
nl Linux number lines of files
length IRIX Returns the number of words transferred
paste HP-UX merge same lines of several files or subsequent lines of one file
paste IRIX merge same lines of several files or subsequent lines of one file
paste Tru64 Joins corresponding lines of several files or subsequent lines in one file
vx_ncsize HP-UX the number of bytes to be reserved for the directory
mbrlen FreeBSD get number of bytes in a character (restartable)
msgssz HP-UX number of bytes in a System V IPC message segment
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service