home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
text
/
agix
/
agix.doc
< prev
next >
Wrap
PGP Signed Message
|
1995-02-27
|
3KB
|
82 lines
-----BEGIN PGP SIGNED MESSAGE-----
$VER: AGIX.doc 1.2 (5.8.94) Copyright © Ralph Seichter
======================================================
PURPOSE:
Although AmigaGuide documents may have a node index, only few documents
make use of this feature. I suppose that many people are too lazy to build
an index manually (I definitely am), so I thought it would be a good idea
to have this task done automatically. AGIX scans an AmigaGuide document for
references like @{"foo" link "bar"} (note that AGIX does not use the node
definitions), sorts them alphabetically and produces an index file.
"Haven't I seen something like that before?" you might ask. Well, I have
seen one similar program so far, but on my machine it didn't work, so I
decided to try it myself. The result is short (only 1960 bytes) and uses
StrnCmp() from locale.library instead of stricmp(), if available, and has a
very nice sounding name. :)
USAGE:
The parameter required is the input FILE name; AGIX uses the standard
output channel. Please note that the complete source file is loaded into
memory for greater speed. This is generally an advantage, because only very
few document files are so large that they don't fit into memory. The output
should be appended to the original AmigaGuide document. The optional INDENT
parameter (the default is 1) allows you to specify how many blanks will be
written in front of each output line. Make sure to run AGIX from CLI only!
Usage examples:
1> agix foo.guide
1> agix FILE bar.guide INDENT 3 >bar.index
1> Join bar.guide bar.index AS barindex.guide
COPYRIGHT NOTICE:
AGIX is Copyright (c) 1994 Ralph Seichter, all rights reserved. You may
however use it freely and give away as many copies as you wish, as long as
the following conditions are met:
1. No files may be added to or deleted from the archive.
2. The archive must not be included in commercial software
packages without my written permission.
3. You must not charge anybody for giving him/her a copy.
If you have suggestions or comments to make, please feel free to contact
me. Any form of feedback is appreciated.
Ralph Seichter Phone: V +49-2233-70293 Q
Deutscher Ring 6 EMail: zodiac@darkness.gun.de
50354 Huerth
Federal Republic of Germany
DISCLAIMER:
THIS MATERIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, STATUTORY OR OTHERWISE, INCLUDING WITHOUT LIMITATION
ANY IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE USE, RESULTS, AND
PERFORMANCE OF THIS MATERIAL IS ASSUMED BY YOU AND IF THE PRODUCT SHOULD
PROVE TO BE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY
SERVICING, REPAIR, OR OTHER REMEDIATION.
-----BEGIN PGP SIGNATURE-----
Version: 2.3a.4
iQCVAgUBLkJv+pM5gwXWjSWFAQEBuwQAmS6ER5d7bxJG35296DAzoeqRijDNdJRu
1gkN/HQWGMyiLppJ52dIagGxEt36AZaL33IlenOGSovW/Ud2IGcX6FBVHDP/20uS
/y1vw2Q4eNCERRGcJ/RP88410YvOgtzbjjMUQtJopLhB7DtRgv2XLLc3ozJ63Ba6
JVmiRUkgEvw=
=+5I3
-----END PGP SIGNATURE-----