glob_to_reglob
newfnp = glob_to_reglob(nextfnp);
struct fn *glob_to_reglob(struct fn *fnp);
pattern = glob_to_reglob(template);