| www.delorie.com/gnu/docs/guile/guile_53.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
When Guile is installed, in addition to the (ice-9 FOO) modules,
a set of executable modules (scripts BAR) is also installed.
Each is a regular Scheme module that has some additional packaging so
that it can be called as a program in its own right, from the shell. For this
reason, we sometimes use the term script in this context to mean the
same thing.
As a convenience, the guile-tools wrapper program is installed along w/
guile; it knows where a particular module is installed and calls it
passing its args to the program. The result is that you need not augment your
PATH. Usage is straightforward:
guile-tools --help guile-tools --version guile-tools [OPTION] PROGRAM [ARGS ...] If PROGRAM is "list" or omitted, display contents of scripts dir, otherwise PROGRAM is run w/ ARGS. Options (only one of which may be used at a time): --scriptsdir DIR -- Look in DIR for scripts --guileversion VERS -- Look in $pkgdatadir/VERS/scripts for scripts --source -- Display PROGRAM source (ignore ARGS) to stdout |
The modules are self-documenting. For example, to see the documentation for
lint, use one (or both) of the shell commands:
guile-tools display-commentary '(scripts lint)' guile-tools --source lint |
The rest of this section describes the packaging that goes into creating an executable module. Feel free to skip to the next chapter.
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |