# Bug#450875: [tex-live] Bug#450875: patgen: Does not seem to generate anything useful

On Sat, Nov 17, 2007 at 05:39:27PM -0600, Karl Berry wrote:
>     patgen can only read files containing ONLY \patterns{...}
>
> As opposed to what?  I wouldn't expect patgen to parse .tex files.
>
> As far as I can tell from a quick glance at patgen.web, it reads a
> hyph-en-ated word list and (optionally) existing patterns (and an
> auxiliary "translate" file), and spits out new patterns.

The manpage is atleast misleading.  It says:
For a (very) long example of  patgen's  output,  see
\$TEXMFMAIN/tex/generic/hyphen/hyphen.tex,  which  contains the
patterns TeX uses for English.

And:
[...] the pattern_file  containing  previously-generated
patterns   (if  any)  for  a  particular  language

This makes me assume that patgen can read (and write) such a file.

Kurt