1MU(SCRIPT)                       User Manuals                       MU(SCRIPT)
2
3
4

NAME

6       mu script- show the available mu scripts, and run them.
7
8

SYNOPSIS

10       mu script [options] [<pattern>]
11
12       mu <script-name> [<script-options>]
13
14

DESCRIPTION

16       mu  script is the mu command to list available mu scripts.  The scripts
17       are to be implemented in the Guile programming language, and  therefore
18       only work if your mu is built with support for Guile. In addition, many
19       scripts require you to have gnuplot installed.
20
21       Without any parameters, mu script lists the available scripts.  If  you
22       provide  a  pattern (a regular expression), only the scripts whose name
23       or one-line description match this pattern are listed. See the examples
24       below.
25
26       mu ships with a number of scripts.
27
28

OPTIONS

30       --verbose,-v
31              when listing the available scripts, show the long descriptions.
32
33              --  all  options  on  the right side of the -- are passed to the
34              script.
35
36

EXAMPLES

38       List all available scripts (one-line descriptions):
39         $ mu script
40
41       List all available scripts matching month (long descriptions):
42         $ mu script -v month
43
44       Run the msgs-per-month script for messages matching 'hello',  and  pass
45       it the --textonly parameter:
46         $ mu msgs-per-month --query=hello --textonly
47
48

RETURN VALUE

50       mu script returns 0 when all went well, and returns some non-zero error
51       code when this is not the case.
52
53

FILES

55       You can make your own Scheme scripts accessible through  mu  script  by
56       putting them in <muhome>/scripts (which is typically ~/.mu/scripts). It
57       is a good idea to document the scripts by using some  special  comments
58       in the source code:
59       ;; INFO: this is my script -- one-line description
60       ;; INFO: (longer description)
61       ;; INFO: --option1=<foo> (describe option1)
62       ;; INFO: etc.
63
64

BUGS

66       Please report bugs if you find them: https://github.com/djcb/mu/issues
67
68

AUTHOR

70       Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
71
72

SEE ALSO

74       mu(1), guile(1)
75
76
77
78June 2013                              1                            MU(SCRIPT)
Impressum