

KWIC (1)                     1/15/79                     KWIC (1)


NAME 
       kwic - make keyword in context index

SYNOPSIS 
       kwic [file ...]

DESCRIPTION 
       Kwic  rotates lines from the input files so that each word
       in the sentence appears at the beginning of a  line,  with
       a  special  character marking the original position of the
       end of the  line.   The  output  from  kwic  is  typically
       sorted  with  'sort'  and  then  unrotated with 'unrot' to
       produce a keyword-in-context index. 
       
       If no input files  are  given,  or  if  the  filename  '-'
       appears, lines will be read from standard input. 

FILES 

SEE ALSO 
       unrot; sort

DIAGNOSTICS 
       A  message  is  printed if an input file cannot be opened;
       further processing is terminated. 

AUTHORS 

       Original from Kernighan and  Plauger's  'Software  Tools',
       with   minor  modifications  by  Debbie Scherrer, Lawrence
       Berkeley Laboratory. 

BUGS 

























                               -1-


