This subdirectory contains a number of perl, awk and shell scripts to automate the extraction of statistics from suitably formatted cave data sets, in particular the Easegill-Pippikin and LeckMasongill data sets in this repository.
The usage is:
./caves.sh <master>
to generate a list of cave lengths as tab-delimited text;
./table.sh <master>
to generate a table for the individual pieces of cave, as tab-delimited text;
./duplicates.sh <master>
to generate a list of duplicate and splay legs, in tab-delimited text format.
In these <master>
should be the name of the master survex file omitting the .svx
suffix.
For convenience a Makefile is provided to run these scripts against a given data set.
For example, to extract cave statistics for
Easegill-Pippikin, copy the contents of this
directory to the Easegill-Pippikin top level directory (containing the file
Easegill-Pippikin.svx
) and run the following command, at a command prompt:
MASTER = Easegill-Pippikin make tables
This will generate caves.dat
, table.dat
, and duplicates.dat
as tab-delimited text files containing the above information. For
examples of these, see the Easegill-Pippikin
and LeckMasongill subdirectories.
Patrick B Warren, April 2015 -- October 2019