


CODEREVIEW(1-LOCAL)Misc. Reference Manual PageCODEREVIEW(1-LOCAL)



NAME
     codereview - Diff list generator

SYNOPSIS
     codereview [-r] oldfile newfile

DESCRIPTION
     The codereview command expects two ASCII text files as input
     and  produces  Postscript describing the differences between
     the files.  The first file is assumed to be the  older  ver-
     sion,  and  the  second file is assumed to be the newer ver-
     sion.  The output goes to  standard  output  and  lists  all
     lines  from both files, with lines changed from the first to
     the second being highlighted in gray.   Lines  deleted  from
     the  first  file  are listed in italic, while lines added to
     the second file are listed in bold.

OPTIONS
     -r         Enable page reversal so that the pages appear  in
               the   correct  sequence  in  the  output  tray  of
               printers like the Apple LaserWriter.  The  default
               is  not to perform page reversal, which is correct
               for printers like the NEC Silentwriter LC-890.

FILES
     /tmp/lwlpXXXXXX          -  temporary  file  used  for  page
     reversal

LIMITATIONS
     The maximum input line  length  is  1024  characters.   This
     should  not present a problem since the corresponding output
     line length would be too long to be  printed.   The  program
     silently truncates input lines that are too long.

NOTES
     The command
          pageview -right -h 17 -w  11  -Ws  1100  850  -dpi  100
     out.ps
     is useful for displaying the results of codereview.

AUTHOR
     John Zolnowsky
     SunSoft, Inc.












SunOS 5.5             Last change: 93/08/18                     1



