Re: What does @{FOOBAR@a} mean? (bash)

Liste des GroupesRevenir à cu shell 
Sujet : Re: What does @{FOOBAR@a} mean? (bash)
De : lew.pitcher (at) *nospam* digitalfreehold.ca (Lew Pitcher)
Groupes : comp.unix.shell
Date : 14. Apr 2024, 15:11:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <uvgo5q$3llqr$1@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
On Sun, 14 Apr 2024 06:07:12 -0400, Popping Mad wrote:

On 4/13/24 18:14, Lew Pitcher wrote:
The expansion is a string consisting of flag values
                     representing parameter's attributes.
 
 
What does this mean?

bash expansion variables have various (and multiple) characteristics that
govern how they work in expansions. You can have <<functions>> or
<<non-functions>>, <<indexed arrays>> or <<associative arrays>> or
<<integers>>, <<exported>> or <<not exported>>, etc.

You can use the "typeset" builtin[1] to explicitly set these characteristics,
or set them by your bash script actions.

The "typeset" builtin can also tell you what those characteristics are for
specific expansion variables.

Apparently, bash has now added an expansion rule that /also/ reports on the
characteristics of the expansion variable.


[1] See bash(1) SHELL BUILTIN COMMANDS for more details

HTH
--
Lew Pitcher
"In Skills We Trust"

Date Sujet#  Auteur
13 Apr 24 * What does @{FOOBAR@a} mean? (bash)10Kenny McCormack
13 Apr 24 +- Re: What does @{FOOBAR@a} mean? (bash)1John-Paul Stewart
13 Apr 24 +* Re: What does @{FOOBAR@a} mean? (bash)2Helmut Waitzmann
13 Apr 24 i`- Re: What does @{FOOBAR@a} mean? (bash)1Kenny McCormack
14 Apr 24 `* Re: What does @{FOOBAR@a} mean? (bash)6Lew Pitcher
14 Apr 24  +* Re: What does @{FOOBAR@a} mean? (bash)3Kenny McCormack
14 Apr 24  i`* Re: What does @{FOOBAR@a} mean? (bash)2Kenny McCormack
14 Apr 24  i `- Re: What does @{FOOBAR@a} mean? (bash)1vallor
14 Apr 24  `* Re: What does @{FOOBAR@a} mean? (bash)2Popping Mad
14 Apr 24   `- Re: What does @{FOOBAR@a} mean? (bash)1Lew Pitcher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal