[BACK]Return to wc.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / wc

Diff for /src/usr.bin/wc/wc.1 between version 1.24 and 1.25

version 1.24, 2015/03/13 19:58:41 version 1.25, 2015/04/21 10:46:48
Line 72 
Line 72 
 The number of lines in each input file  The number of lines in each input file
 is written to the standard output.  is written to the standard output.
 .It Fl m  .It Fl m
 The number of characters in each input file  Intended to count characters instead of bytes;
 is written to the standard output.  currently an alias for
   .Fl c .
 .It Fl w  .It Fl w
 The number of words in each input file  The number of words in each input file
 is written to the standard output.  is written to the standard output.
Line 85 
Line 86 
 The default action is equivalent to the flags  The default action is equivalent to the flags
 .Fl clw  .Fl clw
 having been specified.  having been specified.
 The  
 .Fl c  
 and  
 .Fl m  
 options are mutually exclusive.  
 .Pp  .Pp
 If no file names are specified, the standard input is used  If no file names are specified, the standard input is used
 and a file name is not output.  and a file name is not output.
Line 103 
Line 99 
 lines    words  bytes   file_name  lines    words  bytes   file_name
 .Ed  .Ed
 .Pp  .Pp
 If the  
 .Fl m  
 option is specified,  
 the number of bytes is replaced by  
 the number of characters in the listing above.  
 The counts for lines, words, and bytes  The counts for lines, words, and bytes
 .Pq or characters  .Pq or characters
 are integers separated by spaces.  are integers separated by spaces.
Line 120 
Line 111 
 .Nm  .Nm
 utility is compliant with the  utility is compliant with the
 .St -p1003.1-2008  .St -p1003.1-2008
 specification.  specification, except that it ignores the locale.
 .Pp  .Pp
 The flag  The flag
 .Op Fl h  .Op Fl h
Line 130 
Line 121 
 .Nm  .Nm
 utility appeared in  utility appeared in
 .At v1 .  .At v1 .
   .Sh BUGS
   The
   .Fl m
   option counts bytes instead of characters.

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25