A browser can access this directory, src, for navigation and listing (click on the link in this sentence or the Section header).
Src, has C-code sources and scripts for ports to Mac OS X of about 16 programs that IMHO are worth posting. A few were written by me, e.g.: note maintains a simple text file of notes and a Unix-style calendar file; simplex is an implementation of the Nelder-Mead algorithm for function minimization.
There are some golden oldies, of course not written by me, that seem to be not commonly found in open-source distributions: tac is a reverse cat(1); ll prints the lengths of longest and shortest lines of a file; whereis is the old-style bsd version; nrchbar is an improvement on diffmk(1), for inserting troff-style changebars in a file; dugraph filters du(1) output to generate a one-page graph of disk usage; zap is a Kernighan and Pike program that searches a ps(1) listing and queries whether the matching process should be killed; hoc, another Kernighan and Pike program, is a primer for use of lex(1), yacc(1) and a grammar, in this case to generate a relatively sophisticated floating point calculator.
Information on areacodes or on times of sunrise and sunset are easy to get from the net, but it's even easier to use the command-line functions areacode or sunrise.
I reworked the code of two programs that have been of particular use to me: react, to simulate the time course of a set of chemical reactions; and rcbook.t, to format recipes written in the alt.gourmand troff style. The source for rcbook.t is under the directory ./recipes. This directory also has two recipe collections, both written in alt.grormand style, one from the 1988 alt.gourmand distribution, the other my own.
Executables running under Mac OS X 10.3 are found in each subdirectory of src, The executables (except for: simplex and xtoys) are also in ../../Code/Configuration/0burn-050529/bin (filepaths are given relative to this directory, src).
/src
|-- areacode - search table of US telephone area codes
|-- chgdate - print result of date modification commands
|-- dugraph - filter du output for one page graph of disk usage
|-- hexcalc - interactive hexadecimal calculator
|-- hoc6 - interactive floating point language
|-- misc1 four old utilities:
| |-- pad - pad lines to given length
| |-- tac - concatenate and print files in reverse
| |-- ll - max and min line length
| `-- whereis - locate source, binary, and or manpage for
| a program
|-- misc2 two utilities from Kernighan and Pike:
| |-- zap - kill all processes matching pattern
| `-- pick - select arguments
|-- note - prepend dated input to file; maintain calendar and
| notes files
|-- nrchbar - insert n/troff-style change bars in a file
|-- react - a program for simulation of the time course of a
| set of chemical reactions, by numerical integration
| of the relevant differential equations
|-- recipes - recipe collections in alt.gourmand style;
| Mac OS X formatter to generate Cookbook from recipes;
| alt.gourmand 1988 distribution
|-- simplex - Nelder-Mead simplex minimization to give parameter
| estimates
|-- sunrise - compute astronomical times; sunrise, moonset, etc
`-- xtoys - X window simulators for: phase transitions
(Ising, Potts, and percolation models);
self-organized criticality (sandpile model);
cellular automata; and wave equations.
usage: ap key-word-list
action: filter (keep) only user commands (1) from apropos output
pipe output through whatis-filter-jar to limit line length, sort, and remove duplicate entries