bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] multibyte_identifiers: opt-in UTF-8 variable names (UAX #31


From: Félix Hauri
Subject: Re: [PATCH] multibyte_identifiers: opt-in UTF-8 variable names (UAX #31 + NFC) behind a root-controlled system switch
Date: Tue, 4 Aug 2026 09:30:06 +0200

Le Mon, Aug 03, 2026 at 11:18:23PM +0000, Ruben.Vanlus via Bug reports for the 
GNU Bourne Again SHell a écrit :
> variable name (Σ=“<value>”) was rejected...
> That’s why I’ve now decided to run ZSH as the shell ...

So you use `Greek Capital Sigma' as variable name, but...

  zsh  < <(
    allSigma=();
    for sigma in \\U{3a3,1D{6BA,6f4,72e,768,7a2}};do
        printf -v sigma '%b'  $sigma
        printf '%s=%d\n' $sigma $RANDOM
        allSigma+=($sigma)
    done
    echo "set -x"
    echo "typeset ${allSigma[*]}"
  )
  +zsh:8> typeset Σ 𝚺 𝛴 𝜮 𝝨 𝞢
  Σ=17386
  𝚺=16302
  𝛴=8122
  𝜮=20774
  𝝨=1189
  𝞢=22274

which one?

-- 
 Félix Hauri  -  <felix@f-hauri.ch>  -  http://www.f-hauri.ch



reply via email to

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