PIA / src / app / tools

[..] [files]

This directory contains a grab-bag of small scripts and other tools that members of the PIA group have found useful during the development process. In some cases it is expected that a script will be sucked into an e-mail message, edited, and sent to the relevant developers rather than used directly.

Please put a short description in a comment at the front of each script.

The reason for having this directory is so that people don't have to go rummaging around in their e-mail archives to find out how to fix up a directory tree after moving its CVS archive, or similar rarely-performed actions.

Annotated Contents

cvs-move-directory
Fix up a CVS-controled source tree after moving the repository. (Sample)
files-containing
Display the names of all files that contain a pattern. Looks only at files that can reasonably be expected to contain text.
files-not-containing
Display the names of all files that DO NOT contain a pattern. Looks only at files that can reasonably be expected to contain text. Can be used, for example, to find files that don't contain a copyright notice.
files-with-holes
Find files containing words or patterns that indicate a ``hole:'' The string "===" or one of the words ``unimplemented'' or ``eventually''.
fix-cvs-ids
repair damaged CVS ID strings damaged by a cvs export command. Don't do that!
fix-document-types
Set the DTD of files expected to contain HTML to "-//W3C//DTD HTML 4.0 Transitional//EN"
fix-package-names
Change the names of packages from crc.* to org.risource.*
fix-permissions
Make every directory under "." group-writable. Occasionally needed in the CVS repository, if people create directories with a umask setting of 200.
fix-xh-doctypes
Replace <!DOCTYPE...> declarations in .xh files with an appropriate <make...> element, so as not to have DTD's that we can't verify against in the original files.
hole-report
Like files-with-holes except that it displays the lines instead of just the filenames.
index-dirs.pl
Make an HTML index out of a file of directory names, one per line, typically produced by the Unix find command. Used for the PIA top-level index.
move-history-data
Moves History agent data files from their previous location to the current one.
move-java-makefiles
Fix Makefiles after the package renaming done by fix-package-names
rgrep
Recursive grep through files expected to contain text.
x-lc
Display line counts under "." using xdu.

Copyright © 1997-2000 by Ricoh Innovations, Inc.
$Id: HEADER.html,v 1.7 2001-04-03 00:04:06 steve Exp $

      Name                    Last modified      Size  Description
Parent Directory - cvs-move-directory 2012-04-01 16:18 339 files-containing 2012-04-01 16:18 402 files-not-containing 2012-04-01 16:18 403 files-with-holes 2012-04-01 16:18 409 fix-cvs-ids 2012-04-01 16:18 568 fix-document-types 2012-04-01 16:18 528 fix-package-names 2012-04-01 16:18 320 fix-permissions 2012-04-01 16:18 340 fix-rsv 2012-04-01 16:18 685 fix-silicon-valley 2012-04-01 16:18 714 fix-xh-doctypes 2012-04-01 16:18 555 hole-report 2012-04-01 16:18 379 index-dirs.pl 2012-04-01 16:18 3.6K move-history-data 2012-04-01 16:18 866 move-java-makefiles 2012-04-01 16:18 258 rgrep 2012-04-01 16:18 332 woad-index.pl 2012-04-01 16:18 34K x-lc 2012-04-01 16:18 312