DIFF(1) - General Commands Manual # DIFF(1) - General Commands Manual
NAME # diff - differential file and directory comparator
SYNOPSIS # diff [-abdipTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] [-L label] file1 file2
diff [-abdipTtw] [-IÂ pattern] [-LÂ label] -CÂ number file1Â file2
diff [-abditw] [-IÂ pattern] -DÂ string file1Â file2
diff [-abdipTtw] [-IÂ pattern] [-LÂ label] -UÂ number file1Â file2
...
LNDIR(1) - General Commands Manual # LNDIR(1) - General Commands Manual
NAME # lndir - create a shadow directory of symbolic links to another directory tree
SYNOPSIS # lndir [-is] [-e exceptfile] fromdir [todir]
DESCRIPTION # The lndir program makes a shadow copy todir of a directory tree fromdir, except that the shadow is not populated with real files but instead with symbolic links pointing at the real files in the fromdir directory tree.
...
PATCH(1) - General Commands Manual # PATCH(1) - General Commands Manual
NAME # patch - apply a diff file to an original
SYNOPSIS # patch [-bCcEeflNnRstuv] [-B backup-prefix] [-D symbol] [-d directory] [-F max-fuzz] [-i patchfile] [-o out-file] [-p strip-count] [-r rej-name] [-V t | nil | never] [-x number] [-z backup-ext] [--posix] [origfile [patchfile]]
patch <patchfile
DESCRIPTION # patch takes the text file patchfile containing any of the four forms of difference listing produced by the diff(1) program and applies those differences to an original text file, producing a patched version.
...
UPDATE-PATCHES(1) - General Commands Manual # UPDATE-PATCHES(1) - General Commands Manual
NAME # update-patches - create or update patches for a given port
SYNOPSIS # update-patches
DESCRIPTION # update-patches is a helper script for the target update-patches in bsd.port.mk(5). It takes no argument, but uses quite a few environment variables as implicit parameters.
update-patches looks under WRKDIST for patched files. Those are files with extension PATCHORIG, except for those matching also DISTORIG.
...