sbase

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

head.1 (565B)


      1 .Dd 2015-10-08
      2 .Dt HEAD 1
      3 .Os sbase
      4 .Sh NAME
      5 .Nm head
      6 .Nd display initial lines of files
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl n Ar num | Fl Ns Ar num
     10 .Op Ar file ...
     11 .Sh DESCRIPTION
     12 .Nm
     13 writes
     14 .Ar num
     15 lines of each
     16 .Ar file
     17 to stdout.
     18 If no
     19 .Ar file
     20 is given
     21 .Nm
     22 reads from stdin.
     23 .Sh OPTIONS
     24 .Bl -tag -width Ds
     25 .It Fl n Ar num | Fl Ns Ar num
     26 Display initial
     27 .Ar num
     28 |
     29 .Sy N
     30 lines. Default is 10.
     31 .El
     32 .Sh SEE ALSO
     33 .Xr tail 1
     34 .Sh STANDARDS
     35 The
     36 .Nm
     37 utility is compliant with the
     38 .St -p1003.1-2013
     39 specification.
     40 .Pp
     41 The
     42 .Op Fl Ns num
     43 syntax is an extension to that specification.