home *** CD-ROM | disk | FTP | other *** search
-
- -- Mat Mark II --
-
- This package contains a comprehensive String Search/Pattern Matching program,
- "Mat",and some Shell (EXECUTE) Command Scripts which use it. Mat's string
- search mechanism is about three times as fast as the AmigaDOS SEARCH
- command, and in addition it can (albeit more slowly) match text against
- an extended implementation of AmigaDOS-type patterns. The matched text can
- be sliced into pieces and rearranged (with interpolated text as desired)
- for output. Mat can examine, and generate output from, both text files and
- directory contents.
-
- Mat's notation for patterns is an extension of the standard AmigaDOS
- convention (used by LIST, COPY, and DELETE etc.). It uses additional
- special characters for negation and for marking the matched string into
- "slices".
-
- To provide the flexibility that Mat has, its command line syntax has to be
- fairly complex. In most cases you will probably want prewritten command
- scripts to perform common actions; some examples are included. It is
- also intended for things like installation scripts -- probably invoked by
- Xicon or IconX -- where it can determine the contents of Startup-Sequence
- and MountList before making changes, and even automatically create simple
- editing scripts for them.
-
- The main contents of this package are as follows:
-
- Mat -- The executable program.
-
- Mat.DOC -- The user's manual for Mat.
-
- SCH -- A SEARCH Surrogate (script), that's about twice as
- fast as the AmigaDOS command or more.
- REF -- Example command script to highlight references
- in text (string search).
- MREF -- Like REF, but searches (slowly) for patterns.
- PR -- Command script to print specified files; runs in
- the background.
- REN -- Command script for extended renaming of multiple
- files.
- FILECOUNT -- Counts files with names matching a given pattern.
- LINECOUNT -- Counts lines in text files.
- PATHS -- Preserves current path in a re-executable script.
- SASS -- Preserves current assigns in a re-executable script.
- MAKEDEP -- Create dependency lists for C makefiles.
-
- Examples.DOC -- Instructions for using the command scripts.
- [I suggest you try using the scripts before
- plunging into the syntax of Mat!]
-
- README -- This file.
-
- ElideS -- Ancillary program for SASS to elide extra spaces
- in text.
-
-
-
- - - - - - - - - - -
-
- This release differs from the original (1987) version in the following
- ways:
-
- It may be made Resident. (It is also slightly smaller than before.)
-
- The fast string search mechanism has ben added.
-
- New command-line keywords have been provided for more flexible
- specification of Patterns and templates.
-
- File pathname resolution now generates full pathnames; a template
- marker for "full pathname" has been added.
-
- Tags and labels -- template-type strings that can be output at
- desired points in the command line -- are now available.
-
- The program output may now be redirected temporarily within the
- command line using the 'OUT' keyword.
-
- Complex command argument sequences may now be taken from scripts
- ('WITH'). 'RESET' and 'ZERO' keypwords have been included to
- improve the flexibility of scripts.
-
- - - - - - - - - - -
-
-
- Mat is copyright, but freely distributable for non-profit purposes.
- I don't specifically request contributions, but if you find the program
- particularly useful you might consider it...(!)
-
- August 1990
-
- Pete Goodeve
- 3012 Deakin St #D
- Berkeley, Calif. 94705
- U. S. A.
-
- net: pete@violet.Berkeley.EDU
-
-
-
-