Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pdiff(1P) — Ultrix-32 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

diff(1)

PDIFF(1P)

NAME

pdiff − differential project comparator

SYNOPSIS

pdiff [−rx] [−T typexpr] [diff options] projectname1 projectname2

pdiff [−x] [diff options] pdirname1 pdirname2

pdiff [−x] [diff options] file1 file2

DESCRIPTION

Pdiff compares files in projects using the diff command.  Diff tells what lines must be changed in the files to bring them into agreement.  Except in rare circumstances, it finds a smallest sufficient set of file differences. 

If both arguments are projects, pdiff sorts the project directories in each project by name, and then runs diff on the contents of common directories. Binary files that differ, common subdirectories, and files that appear in only one directory are listed. 

If pdirname1 is a project, then a project directory in that project with the same name as pdirname2 is used (and vice versa). 

If file1 is a project, then a file in that project with the same name as file2, residing in a project directory with the same name as the current working project directory, is used (and vice versa). 

OPTIONS

−rApply pdiff recursively to common subprojects. 

−xTrace and print diff commands, but do not execute. 

−T typexpr
Only compare project directories corresponding to boolean type label expression, typexpr. 

SEE ALSO

diff(1)

DIAGNOSTICS

The error message “pdiff: don’t know which project directory to use in projectname” indicates that the file or directory that is being compared against projectname is not part of the current working project. 

Exit status is 0 for no differences, 1 for some, 2 for trouble. 

AUTHOR

Peter J. Nicklin

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