[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Multi Language Support Question

Me again... :-)

Axel Beckert wrote:
> Therefore I would suggest a parameter '-S' (for *s*lice behaviour) to
> wml and slice, which gets as values a string containing one or more of
> those flags.
> Examples, which result in the same file:
> #!wml -S an -oDEuUNDEF:foo.de.html@g+x -oENuUNDEF:foo.en.html@g+x

Of course, BSD style should be allowed here, too:

#!wml -San -oDEuUNDEF:foo.de.html@g+x -oENuUNDEF:foo.en.html@g+x

> #!wml -oDEuUNDEF:foo.de.html@g+x#an -oENuUNDEF:foo.en.html@g+x#an

As I read my own lines: Analogously a -C option for wml an slices
could define a default chmodcmd for all following slices, which would
be also very useful inside .wmlrc's and .wmkrc's. (I thought about
that a few days ago, too, but had no good idea and postponed it,
because a 'find . -name "*.html" | xargs chmod g+x' did it well for
playing around with the XBitHack of Apache... :-)

But perhaps it would be more intuitive, if we use -# instead of -S and
-@ instead of -C, because those are the seperators in the -o
parameter... So here's that example again:

#!wml -#an -@g+x -oDEuUNDEF:foo.de.html -oENuUNDEF:foo.en.html
#!wml -oDEuUNDEF:foo.de.html@g+x#an -oENuUNDEF:foo.en.html@g+x#an

		Regards, Axel
Axel Beckert - abe@cs.uni-sb.de - http://abe.home.pages.de/
Student of Computer Science, University of Saarland (Germany)
Artificial Intelligence Laboratory (AI Lab), Prof. Dr. W. Wahlster;
WWW-/FTP-Administrator IBFI Schloß Dagstuhl; Students Representative CS
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com