ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: Customizing texutil --purge
Date: Tue, 04 Feb 2003 14:39:57 +0100	[thread overview]
Message-ID: <87k7gg5fma.fsf@gundla.ch> (raw)
In-Reply-To: <Pine.OSF.4.51.0302041415290.4176@sirppi.helsinki.fi> (mari.voipio@iki.fi's message of "Tue, 4 Feb 2003 14:22:17 +0200 (EET)")

mari.voipio@iki.fi writes:

> The "Texutil explained" says on page 2
> "texutil ­purge
> Afterwards, TEXutil reports the number of bytes regained. Optionally, you
> can pass a file pattern, thereby limiting the cleansing."
>
> As I'm a dummy, I don't seem to be able to put this in practice. I would
> like to get rid of the *.tuo files (and some others as well), so I tried

Marie,

there is no way to get rid of the tuo files with texutil. With the
optional argument, you can *limit* the cleansing. That means, reduce
the number of files being erased. 

For example, let's say you have a file called "finland.tex" and
"snow.tex" together with all the messy context help files. Now you
want to get rid of all the "snow" stuff but keep all the files for
"finland.tex" If the texutil command would work how it should [1]
then saying

texutil --purge snow

would delete the 
snow-mpgraph.mp, snow.tui, snow.log etc. 

but leave all "finland" files in the directory.


Patrick

[1] the pattern in texutil for removing files is not useable on
unix. I had good experience with 

      { $pattern .= "*.*" }

line 2685. It is now

      { $pattern .= "-.*" }

but this will probably not match any files around. (Perhaps there are
some obscure files that I don't know of.) Hans, could you change this
in texutil?


Patrick

  parent reply	other threads:[~2003-02-04 13:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04 12:22 mari.voipio
2003-02-04 12:36 ` Hans Hagen
2003-02-04 13:39 ` Patrick Gundlach [this message]
2003-02-04 14:33   ` mari.voipio
2003-02-04 15:07     ` Patrick Gundlach
2003-02-04 15:09     ` Hans Hagen
2003-02-04 15:23     ` Hans Hagen
2003-02-04 15:48       ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k7gg5fma.fsf@gundla.ch \
    --to=pg@levana.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).