James Carlson wrote: > Roland Mainz writes: [snip] > > BTW: Another "nice" feature is that you can put the extended "getopts" > > strings into $"..." and therefore get localised manual pages for > > "myscript --man" for free (assuming a matching l10n catalog exists for > > "myscript" for the locale specified by ${LC_MESSAGES} and the script > > uses the "getopts" builtin provided by ksh93). > > Someone will need to figure out how to convert the .sh.po rule in > $SRC/Makefile.master to something that can deal with these before they > can be used in ON. It doesn't look to me like it could.
Erm... why ? You just glue the output of "shcomp -D myscriptname" (or "ksh93 -D myscriptname") and the current "gettext" extraction thing together (or use some "xor" method depending on which one produces some output, however that will not catch the case when someone uses $"..." and /usr/bin/gettext together (there is no need to use both in one script but script authors are usually "innovative" in abusing things... ;-/ )). Right now this part looks easy (but I didn't test that yet) ... :-) ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org