File: memoize-clean.1

package info (click to toggle)
texlive-base 2024.20250309-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,058,192 kB
  • sloc: perl: 44,903; sh: 5,008; makefile: 4,278; javascript: 3,034; ruby: 2,428; tcl: 2,131; xml: 1,874; python: 1,385; pascal: 1,249; cpp: 549; awk: 512; lisp: 447; ansic: 103; sed: 8
file content (57 lines) | stat: -rw-r--r-- 1,810 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\" Automatically generated by Pandoc 3.1.11.1
.\"
.TH "memoize\-clean" "1" "December 02, 2024" "memoize\-clean of Memoize v1.4.1" "User Manual"
.SH NAME
memoize\-clean.pl, memoize\-clean.py \- Remove (stale) memo and extern
files
.SH SYNOPSIS
\f[B]memoize\-clean.pl\f[R] [\f[I]OPTIONS\f[R]] [\f[I]document1.mmz\f[R]
\&...]
.PP
\f[B]memoize\-clean.py\f[R] [\f[I]OPTIONS\f[R]] [\f[I]document1.mmz\f[R]
\&...]
.SH DESCRIPTION
\f[B]memoize\-clean\f[R] is a script accompanying Memoize, a TeX package
which allows the author to reuse the results of compilation\-intensive
code such as TikZ pictures.
.PP
By default, this script removes stale memo and extern files.
A stale memo or extern is an extern produced during a compilation of a
previous version of the document which was neither used nor produced
during the last compilation of the document.
Typically, stale files arise when we change the memoized code (or its
context).
.PP
\f[B]memoize\-clean.pl\f[R] removes all memo and extern files with
prefixes mentioned in the listed \f[B].mmz\f[R] files and by options
\f[B]\-\-prefix\f[R] which are not explicitly mentioned in the
\f[B].mmz\f[R] files.
.PP
Before deleting anything, \f[B]memoize\-clean.pl\f[R] lists all the
files it would delete and asks for confirmation.
.SH OPTIONS
.TP
\f[B]\-p, \-\-prefix\f[R]
Add a memo/extern prefix for cleaning.
This option may be given multiple times.
.TP
\f[B]\-a, \-\-all\f[R]
Remove all memos and externs, rather than only the stale ones.
.TP
\f[B]\-y, \-\-yes\f[R]
Do not ask for confirmation.
.TP
\f[B]\-q, \-\-quiet\f[R]
Don\[cq]t describe what\[cq]s happening.
.TP
\f[B]\-h, \-\-help\f[R]
Show help.
.TP
\f[B]\-V, \-\-version\f[R]
Show the Memoize version number and exit.
.SH SEE ALSO
\c
.UR https://ctan.org/pkg/memoize
Memoize manual
.UE \c
, section 6.6.3.