Rolling Horse Ranch
Technical Services

Source Code
Utilities

This is a collection of utility programs I have found useful (otherwise I probably wouldn't have written them). I would appreciate any feedback, especially if you find any errors. Unfortunately, I cannot guarantee that I will fix them. Use at your own risk.

detab
Filters a file by replacing each tab character by a sequence of space characters (similiar to the expand tool of the GNU text utilities). The length of the tab defaults to 8 characters, but can be changed with a command-line option. If invoked as entab (e.g. through a symbolic link), replaces each sequence of space characters by a tab character. Also, leading spaces can be preserved with another command-line option. This may be desirable when processing source code files. Licensed under the Academic Free License version 2.1. The source code is available.
initrun.pl
Creates an HTML document listing the services started or stopped at each runlevel of a UNIX system using SysV-style initialization. Can be run as a CGI script or from the command line. It was first developed for use on an LFS 4.1 system, then tested on a computer running Red Hat Linux v7.0 and on a Cobalt NASRaQ. It should work with any version of Perl greater or equal to 5.004. The generated HTML should conform to W3C standards and uses styles, both in form of linked external style sheets and style items in the HTML <head>...</head> section. Licensed under the Academic Free License version 2.1. The source code is available.