Table of Contents

NAME

tprep - prepare tree-structured text for use by tgrep.

SYNOPSIS

tprep [ -o out-file ] [ -e extension ] [-qh] [ file ... ]

DESCRIPTION

tprep compiles input files into a format acceptable by tgrep. The input files may be specified on the command line or may be piped into tprep as standard input. If specified, the output of tprep will be placed in out-file.extension where extension may be set on the command line using the -e switch. extension defaults to "corpus" if not specified on the command line. If multiple input files are specified they will be amalgamated into out-file. The out-file may be specified as "-" or "stdout" in which case tprep will output to standard output. If no out-file is specified each file will be processed to produce a compiled version of file called file.extension where extension is derrived in the same was as with the out-file.

If neither an out-file or a file is specified then tprep reads from standard input and writes to standard output.

OPTIONS

-o out-file
write compiled corpus to out-file. out-file may be specified as "-" or "stdout" to write to the standard output.

-e extension
write the compiled corpus for file to file.extension. This option is not used when an out-file is specified.

-q
run in quiet mode. Do not print various diagnostic messages.

-h
help. Print a usage synopsis.

-H
extended help. Print a more extensive usage synopsis.

SEE ALSO

tgrep(1) tgrepdoc(1)

DIAGNOSTICS

tprep's error message are ``self explanatory'' and may sometimes request that an email message be sent to tgrep-support@linc.cis.upenn.edu. In such a case, please make a detailed report of the error including the command line used to invoke tprep.

BUGS

If any bugs are encountered please send electronic mail to tgrep-support@linc.cis.upenn.edu with the subject line as one of the following and a concise description as the body of the message:

installation
   for installation problems.
bug
   for reporting a bug in tgrep.
feature request
   for requesting a new feature be added to tgrep.
information request
   for requesting other information about tgrep.
help
   if you are really stuck and need help.
other
   for other communications.

COPYRIGHT

Copyright 1993, 1994 Richard Pito.

AUTHOR

Richard Pito (pito@unagi.cis.upenn.edu) under grant from the Benjamin Franklin Institute.


Table of Contents