bug-bash
[Top][All Lists]
Advanced

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

Re: gettext feature request


From: Chet Ramey
Subject: Re: gettext feature request
Date: Thu, 29 Jul 2021 16:35:24 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

On 7/29/21 4:33 PM, Eli Schwartz wrote:
On 7/24/21 2:48 PM, Chet Ramey wrote:
On 7/24/21 10:35 AM, Jean-Jacques Brucker wrote:

Planning to use the /$"string/" feature in my bash code made me think
too much : https://github.com/foopgp/bash-libs/tree/main/i18n


...what I really *love* to see in bash, is a /$'string'/ feature,
which doesn't parse any «`» or «$» characters.

So you want a translation feature without any further interpretation? Or
one just without command substitution?

What about an option to enable this variant behavior? What do you think
would be a suitable name?


In the thread Greg linked, he submitted a patch back in 2009 to
implement `shopt -s safelocale`.

Yeah, I don't think that name's particularly descriptive, either.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]