[Tcsh] "Readable" Unicode in setenv

Christos Zoulas christos at zoulas.com
Mon Nov 15 13:15:57 UTC 2021

> On Nov 14, 2021, at 8:29 AM, H.Merijn Brand <tcsh at tux.freedom.nl> wrote:
> Signed PGP part
> On Sat, 13 Nov 2021 19:16:07 -0500, Christos Zoulas <christos at zoulas.com <mailto:christos at zoulas.com>> wrote:
>> Committed, thanks!
> Wow, thanks. Would it be hard(er) to also allow
> % setenv EURO "\u20AC"
> directly too instead of
> % setenv EURO `echo "\u20AC"`
> (you can also hint me to the location in/of the code and I'll play around myself)

I am not sure... How do you enter a literal "\u20AC" then in the environment?
setenv EURO "\\u20AC"?
Does not seem very intuitive to me. At least we have simple "output" semantics
here for echo. What would be the "input" semantics, and which commands do they
affect? I.e. does the translation happen for all variables on assignment? For all
literal strings present in csh code?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20211115/b3ef5f0b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/tcsh/attachments/20211115/b3ef5f0b/attachment.asc>

More information about the Tcsh mailing list