

head                         Command                         head




Print the beginning of a file

hheeaadd [+_n[bbccll]] [_f_i_l_e]
hheeaadd [-_n[bbccll]] [_f_i_l_e]

hheeaadd ccooppiieess tthhee  ffiirrsstt ppaarrtt ooff ffiillee, oorr ooff  tthhee ssttaannddaarrdd iinnppuutt iiff
nnoonnee iiss nnaammeedd, ttoo tthhee ssttaannddaarrdd oouuttppuutt.

TThhee  ggiivveenn nnuummbbeerr  tteellllss hheeaadd  wwhheerree ttoo bbeeggiinn  ttoo ccooppyy  tthhee ddaattaa.
NNuummbbeerrss ooff  tthhee ffoorrmm +nnuummbbeerr mmeeaassuurree tthhee  ssttaarrttiinngg ppooiinntt ffrroomm tthhee
bbeeggiinnnniinngg ooff tthhee ffiillee; tthhoossee ooff tthhee ffoorrmm -nnuummbbeerr mmeeaassuurree ffrroomm tthhee
eenndd ooff tthhee ffiillee.

AA ssppeecciiffiieerr ooff bblloocckkss, cchhaarraacctteerrss,  oorr lliinneess (bb, c, or l, respec-
tively) may follow the number;  the default is lines.  If no num-
ber is specified, a default of +4 is assumed.

***** See Also *****

commands, dd, egrep, sed, tail

***** Notes *****

Because  head buffers  data measured  from the  end of  the file,
large counts may not work.































COHERENT Lexicon                                           Page 1


