GNU diffutils 1. Summary This fast-track introduces GNU diffutils, version 2.8.1, into the Solaris WOS. Patch release binding is requested. 2. Discussion Diffutils is a set of utilities for displaying differences between text files. These utilities are commonly used by open-souce applications. A version is included with the CBE tools for JDS, which is provided as a download on opensolaris.org. They will also be used, if installed, by Mercurial. Diffutils is delivered as four command-line programs: cmp, diff, diff3, and sdiff. Detailed information is available from the Diffutils website [1] and a copy of the manual is in the case directory. GNU diffutils is currently available in the Solaris Companion CD (CCD). This proposal removes it from the CCD and adds it to the SFW consolidation. Non-GNU versions of these commands are already available in Solaris. These are not, however, fully compatible with the GNU variants, which are explicitly required by some applications. The existing Solaris commands have identical names and are installed in /usr/bin. Therefore the GNU diffutils will be installed in /usr/gnu, with g-prefixed symbolic links to each command and manpage in /usr, as per the guidelines of PSARC/2007/047, /usr/gnu [2]. 3. Interfaces Exported Interfaces =================== SUNWgnu-diffutils Uncommitted Package name /usr/gnu/bin/cmp Uncommitted Command /usr/gnu/bin/diff Uncommitted Command /usr/gnu/bin/diff3 Uncommitted Command /usr/gnu/bin/sdiff Uncommitted Command /usr/bin/gcmp Uncommitted Symbolic link /usr/bin/gdiff Uncommitted Symbolic link /usr/bin/gdiff3 Uncommitted Symbolic link /usr/bin/gsdiff Uncommitted Symbolic link /usr/share/info/diff.info Uncommitted Info document /usr/gnu/share/man/man1/cmp.1 Uncommitted manpage /usr/gnu/share/man/man1/diff.1 Uncommitted manpage /usr/gnu/share/man/man1/diff3.1 Uncommitted manpage /usr/gnu/share/man/man1/sdiff.1 Uncommitted manpage /usr/share/man/man1/gcmp.1 Uncommitted Symbolic link /usr/share/man/man1/gdiff.1 Uncommitted Symbolic link /usr/share/man/man1/gdiff3.1 Uncommitted Symbolic link /usr/share/man/man1/gsdiff.1 Uncommitted Symbolic link 4. References [1] http://www.gnu.org/software/diffutils/diffutils.html [2] S. Hahn, B. Smaalders, and R. Orth, PSARC/2007/047: /usr/gnu APPENDIX A [ copy of http://www.gnu.org/software/diffutils/manual/html_mono/diff.html ]