Gilles Detillieux <[EMAIL PROTECTED]> writes:
> > Have you considered using variable substitution?
> > ...it might lessen the need for creating shell wrappers for
> > external parsers that rearrange or discard parameters. i.e.
> >
> > external_parser: application/ms-word "mswordparser -w $infile"
>
> Not a bad idea...
>
> but you'd need something that doesn't conflict with the existing
> variable substitution mechanism.
Oops. Forgot about that. (In my original comment when I remarked that
the variable substitution code was already in htdig (htsearch), I was
thinking about the HTML templates used for search results.)
> ...you'd want to implement a different mechanism altogether, using
> either a different lead-in character than "$", or requiring a
> backslash before the "$" in the arguments.
I'd say use a different token scheme, but hopefully one that will
still work with the existing variable (string) substitution code so
you can reuse that code.
external_parser: application/ms-word "mswordparser -w %infile"
-Tom
--
Tom Metro
Venture Logic [EMAIL PROTECTED]
Newton, MA, USA
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.