Survex Programs

Standard Options

All Survex programs respond to the following command line options:


display option summary and exit


output version information and exit

Short and Long Options

Options have two forms: short (a dash followed by a single letter e.g. cavern -q) and long (two dashes followed by one or more words e.g. cavern --quiet). The long form is generally easier to remember, while the short form is quicker to type. Options are often available in both forms.


Command line options are case sensitive, so "-B" and "-b" are different (this didn't used to be the case before Survex 0.90). Case sensitivity doubles the number of available short options (and is also the norm on UNIX).

Filenames on the Command Line

Filenames with spaces can be processed (provided your operating system supports them - UNIX does, and so do modern versions of Microsoft Windows). You need to enclose the filename in quotes like so: cavern "Spider Cave"

A file specified on the command line of any of the Survex suite of programs will be looked for as specified. If it is not found, then the file is looked for with the appropriate extension appended. So cavern survey will look first for survey, then for survey.svx.

Command Reference

Table of Contents
cavern -- process raw survey data
aven -- sophisticated cave viewer for Unix and MS Windows
diffpos -- compare the contents of two .3d files
extend -- produce an extended elevation from a .3d file
sorterr -- re-sort .err file by various criteria
survexport -- convert a processed survey data file (such as a Survex .3d file) to another format.