cc:  [email protected]  [email protected]          
[email protected]  [email protected]
Subject: Re: Re: Re: [ast-developers] Re: [ast-users] Write up on how to 
localize   shell scripts - Second Try
--------

> Are $"..." strings handled the same as normal "..." literals when the
> script is compiled or is there a difference?
> 
> 

They are replaced by the locale specific string and treated just
as if the were "..." strings after substitution.


If you want to have an error function, that can be called while
different locales are in effect, then
        function error_exit
        {
                eval printf '$"..."'  "$@"
        }
will delay the evaluation until the function is called.  However,
ksh -D will not add this string to the dictionary.

David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to