[Top][All Lists]

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

Re: Document variable names need to be all ASCII

From: Ilkka Virta
Subject: Re: Document variable names need to be all ASCII
Date: Mon, 19 Apr 2021 16:45:37 +0300

What a 'name' is, is further defined under "Definitions": "name: A word
consisting solely of letters, numbers, and underscores, ..."

But it seems you're right that it doesn't say the locale's idea of letters
isn't taken into account. Some other shells do accept those.

On Mon, Apr 19, 2021 at 4:28 PM 積丹尼 Dan Jacobson <jidanni@jidanni.org>

> $ e哈=1
> bash: e哈=1: command not found
> OK, but on man bash is it ever mentioned that a variable name must be all
>        When a program is invoked it is given an array of  strings  called
> the
>        environment.   This  is  a  list  of  name-value  pairs,  of  the
> form
>        name=value....
>        A parameter is an entity that stores values.  It can be a name, a
> num‐
>        ber, or one of the special characters listed below under Special
> Param‐
>        eters.  A variable is a parameter denoted by a name.  A variable
> has ...

reply via email to

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