You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the standard output shall contain an entry for each input file of the form:
"%d %d %d %s\n", <newlines>, <words>, <bytes>, <file>
If the -m option is specified, the number of characters shall replace the <bytes> field in this format.
If any options are specified and the -l option is not specified, the number of <newline> characters shall not be written.
If any options are specified and the -w option is not specified, the number of words shall not be written.
If any options are specified and neither -c nor -m is specified, the number of bytes or characters shall not be written.
If no input file operands are specified, no name shall be written and no <blank> characters preceding the pathname shall be written.
If more than one input file operand is specified, an additional line shall be written, of the same format as the other lines, except that the word total (in the POSIX locale) shall be written instead of a pathname and the total of each column shall be written as appropriate. Such an additional line, if any, is written at the end of the output.
The text was updated successfully, but these errors were encountered:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/wc.html says:
The text was updated successfully, but these errors were encountered: