I'm sponsoring this fast track for Philippe Jung.
The requested release binding is Minor.
A man page is included in the case's materials.
Thanks
pete
Proposal:
Integrate diffstat into Solaris.
Detail:
diffstat reads the output of diff and displays a histogram
of the insertions, deletions, and modifications per-file.
It is useful for reviewing large, complex patch files.
It reads from one or more input files which contain output
from diff, producing a histogram of the total lines changed
for each file referenced. If the input filename ends with
.bz2, .Z or .gz, diffstat will read the uncompressed data
via a pipe from the corresponding program.
The current version of diffstat is 1.45 at the time of this
case.
Example output:
diffstat diff-file.txt
Makefile.master | 9 +
cmd/mdb/tools/scripts/mkmodules.sh | 13 -
tools/Makefile | 11 +
tools/Makefile.tools | 14 +-
tools/README.tools | 26 +--
tools/SUNWonbld/Makefile | 9 -
tools/SUNWonbld/pkginfo.tmpl | 10 -
tools/SUNWonbld/postinstall | 48 +++----
tools/SUNWonbld/preremove | 23 +--
tools/SUNWonbld/prototype_com | 204
+++++++++++++++---------------
tools/SUNWonbld/prototype_i386 | 54 +++----
tools/SUNWonbld/prototype_sparc | 58 ++++----
tools/abi/audit/abi_audit.c | 31 ++--
tools/abi/scripts/intf_check.1 | 15 +-
tools/abi/scripts/intf_check.pl | 11 -
tools/codereview/codereview.1 | 18 +-
tools/depcheck/Makefile | 22 +--
tools/env/developer.sh | 6
tools/env/gatekeeper.sh | 4
tools/env/opensolaris.sh | 6
tools/gk/login.sh | 8 -
tools/lintdump/Makefile | 6
tools/opensolaris/README.opensolaris.tmpl | 2
tools/protocmp/exception_list.h | 18 +-
tools/scripts/bldenv.sh | 44 +++---
tools/scripts/build_cscope.sh | 17 +-
tools/scripts/build_osnet.sh | 9 -
tools/scripts/checkpaths.sh | 4
tools/scripts/cstyle.1 | 11 -
tools/scripts/makebfu.sh | 8 -
tools/scripts/nightly.1 | 6
tools/scripts/nightly.sh | 49 ++++---
tools/scripts/onblddrop.sh | 4
tools/scripts/webrev.sh | 6
tools/scripts/ws.1 | 14 --
tools/scripts/ws.sh | 15 +-
tools/scripts/wsdiff.1 | 4
tools/scripts/wsdiff.py | 8 -
tools/scripts/xref.mk | 6
39 files changed, 435 insertions(+), 396 deletions(-)
Exported Interfaces
SUNWdiffstat Uncommitted Package name
/usr/bin/diffstat Committed Executable location
diffstat Uncommitted Commandline syntax
diffstat output - Not an Interface
Imported Interfaces
diff output of diff
References
[1] http://invisible-island.net/diffstat - home page.
Author of diffstat: Thomas E. Dickey.
[2] 6655775 diffstat 1.45 to be included into SFW consolidation