Debian Codegraph @

upstream/debian-trixie/man1/wc.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH WC "1" "June 2025" "GNU coreutils 9.7" "User Commands"
3 .SH NAME
4 wc \- print newline, word, and byte counts for each file
5 .SH SYNOPSIS
6 .B wc
7 [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
8 .br
9 .B wc
10 [\fI\,OPTION\/\fR]... \fI\,--files0-from=F\/\fR
11 .SH DESCRIPTION
12 .\" Add any additional description here
13 .PP
14 Print newline, word, and byte counts for each FILE, and a total line if
15 more than one FILE is specified. A word is a nonempty sequence of non white
16 space delimited by white space characters or by start or end of input.
17 .PP
18 With no FILE, or when FILE is \-, read standard input.
19 .PP
20 The options below may be used to select which counts are printed, always in
21 the following order: newline, word, character, byte, maximum line length.
22 .TP
23 \fB\-c\fR, \fB\-\-bytes\fR
24 print the byte counts
25 .TP
26 \fB\-m\fR, \fB\-\-chars\fR
27 print the character counts
28 .TP
29 \fB\-l\fR, \fB\-\-lines\fR
30 print the newline counts
31 .TP
32 \fB\-\-files0\-from\fR=\fI\,F\/\fR
33 read input from the files specified by
34 NUL\-terminated names in file F;
35 If F is \- then read names from standard input
36 .TP
37 \fB\-L\fR, \fB\-\-max\-line\-length\fR
38 print the maximum display width
39 .TP
40 \fB\-w\fR, \fB\-\-words\fR
41 print the word counts
42 .TP
43 \fB\-\-total\fR=\fI\,WHEN\/\fR
44 when to print a line with total counts;
45 WHEN can be: auto, always, only, never
46 .TP
47 \fB\-\-help\fR
48 display this help and exit
49 .TP
50 \fB\-\-version\fR
51 output version information and exit
52 .SH AUTHOR
53 Written by Paul Rubin and David MacKenzie.
54 .SH "REPORTING BUGS"
55 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
56 .br
57 Report any translation bugs to <https://translationproject.org/team/>
58 .SH "SEE ALSO"
59 Full documentation <https://www.gnu.org/software/coreutils/wc>
60 .br
61 or available locally via: info \(aq(coreutils) wc invocation\(aq
62 .PP
63 .br
64 Packaged by Debian (9.7\-3)
65 .br
66 Copyright \(co 2025 Free Software Foundation, Inc.
67 .br
68 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
69 .br
70 This is free software: you are free to change and redistribute it.
71 .br
72 There is NO WARRANTY, to the extent permitted by law.