0README

Some years ago, when a question on code was posted on comp.lang.c or certain
other netgroups, a thread might have started, presenting different solutions
to the problem, in effect a contest. Several exchanges of this kind are
summarized under this directory:


./SED
|-- 0Postings		directory - statement of problem; responses ....
|   |-- postings.txt		text file summary of postings
|   `-- sed-[ab]-[12].html	3 html files of postings
|-- 0README		this file
|-- dewit.sed		sed solution - Leo de Wit
|-- jar.sed		sed solution - John Rupley
|-- litmaath.sed	sed solution - Maarten Litmaath
|-- jar.l		lex solution - John Rupley
|-- a.out		executable for lex solution
`-- testfile		test file, to be filtered by sed or lex solutions


./scrunch
|-- 0NOTE			port to mac os x from irix: lex differences
|-- 0Postings			directory - statement of problem; responses ....
|   |-- postings.txt			text file summary of postings
|   `-- scrunch-[12]-[12].html		3 html files of postings
|-- 0README			this file
|-- Lex-trials			direcetory - different lex solutions to problem
|-- Makefile			to test awk and lex solutions, run: make test
|-- scrunchAwk			awk solution of problem - (stephen peckham)
|-- scrunchLex.l		lex solution - (john rupley)
`-- scrunchLex.l.irix		irix version, ported to mac os x as above file


./uncomment
|-- 0Postings		directory - statement of problem; responses ....
|   |-- postings.txt			text file summary of postings
|   `-- uncomment-[0a]-[1-4].html	5 html files of postings
|-- 0README		this file
|-- Makefile		to test solutions, run: make test
|-- Solutions		directory - ca. 10 solutions that were posted
|-- Tests		directory - results of tests (see Makefile)
|-- Trials-lex		directory - different lex solutions
|-- eatC.c		chris torek's C solution
|-- eatLex.l		john rupley's lex solution
|-- eatSed		maarten litmaath's sed solution
`-- uncomment.tst2	test file with pathological C comments



John Rupley
 rupley@u.arizona.edu -or- jar@rupley.com
 30 Calle Belleza, Tucson AZ 85716 - (520) 325-4533; fax - (520) 325-4991
 Dept. Biochemistry & Molecular Biophysics, Univ. Arizona, Tucson AZ 85721
