sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

wc.1 (468B)


      1 .Dd 2015-10-08
      2 .Dt WC 1
      3 .Os sbase
      4 .Sh NAME
      5 .Nm wc
      6 .Nd word count
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl c | Fl m
     10 .Op Fl lw
     11 .Op Ar file ...
     12 .Sh DESCRIPTION
     13 .Nm
     14 writes the number of lines, words and bytes in each
     15 .Ar file
     16 to stdout.
     17 If no
     18 .Ar file
     19 is given
     20 .Nm
     21 reads from stdin.
     22 .Sh OPTIONS
     23 .Bl -tag -width Ds
     24 .It Fl c | Fl l | Fl m | Fl w
     25 Print the number of bytes | lines | characters | words.
     26 .El
     27 .Sh STANDARDS
     28 The
     29 .Nm
     30 utility is compliant with the
     31 .St -p1003.1-2013
     32 specification.