Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lew Pitcher Newsgroups: comp.unix.shell Subject: Re: What does @{FOOBAR@a} mean? (bash) Date: Sun, 14 Apr 2024 14:11:06 -0000 (UTC) Organization: A noiseless patient Spider Lines: 30 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 14 Apr 2024 16:11:06 +0200 (CEST) Injection-Info: dont-email.me; posting-host="28e9d8f80f3e763581793336b15ad7de"; logging-data="3856219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4pxELWVPPmCcdJWLm7Mdlst6BbU/q+u8=" User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Cancel-Lock: sha1:sHRToDoNfq8NPRmXVkqG2H2yPW0= Bytes: 2034 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 <> or <>, <> or <> or <>, <> or <>, 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"