helpThe GNU Bourne-Again SHell - Support: sr #110187, Emojis are not supported for...


sr #110187: Emojis are not supported for variable names

Submitted by:  Kevin Lyda <lyda>
Submitted on:  Wed 29 Jan 2020 11:49:24 AM UTC  
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Wont Do
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 29 Jan 2020 07:13:02 PM UTC, comment #1: 

No widely-used shell does (I'm not sure any shell does), and POSIX doesn't require the shell to support characters other than "underscores, digits, and alphabetics from the portable character set."

Adding support for arbitrary characters in variable names doesn't seem like it would add value.

Chet Ramey <chet>
Project Administrator
Wed 29 Jan 2020 11:49:24 AM UTC, original submission:  

Unlike many languages, bash doesn't support using emojis for variable names.

Kevin Lyda <lyda>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #48300: added by lyda (38B - application/x-shellscript - An example script which doesn't work.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by lyda
  • -email is unavailable- added by lyda (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-29 chet StatusNone => Wont Do
    2020-01-29 lyda Attached File- => Added, #48300
    2020-01-29 lyda Carbon-Copy- => Added lyda

    Back to the top

    Powered by Savane 3.6