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

 
 

sr #110187: Emojis are not supported for variable names

Submitter:  Kevin Lyda <lyda>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Wed 29 Jan 2020 11:49:24 AM UTC, original submission:  

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


#!/bin/bash

Kevin Lyda <lyda>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48300:  foo.sh 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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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 foo.sh, #48300
    2020-01-29 lyda Carbon-Copy- Added lyda

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code