Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ codereview.1.19990514.backup(1-LOCAL) — Sun WorkShop 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CODEREVIEW(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 version, and the second file is assumed to be the newer version.  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 4.2  —  Last change: \*()i

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026