|
| From: | Christian Schneider |
| Subject: | Re: test -v difference between bash 5.1 and 5.2 |
| Date: | Wed, 30 Aug 2023 10:47:40 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 |
BR, Christian Am 29.08.23 um 20:19 schrieb Chet Ramey:
On 8/29/23 11:56 AM, Kerin Millar wrote:One hopes that the shell programmer knows what variable types he's using, and uses the appropriate constructs.Some elect to source shell code masquerading as configuration data (or are using programs that elect to do so). Otherwise, yes, definitely.If you find yourself needing to know whether a variable is an associative array, an indexed array, or a scalar, check the output of the @a variable transformation.
-- --------------------------------------------------------------------- RADIODATA GmbH Newtonstr. 18 12489 Berlin Germany Homepage: www.radiodata.biz USt_IdNr.: DE 195663499 WEEE-Reg.-Nr.: DE 63967380 Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg HRB Nr.: 67865 Geschäftsführer: Hans-Joachim Langermann, Malte Langermann
| [Prev in Thread] | Current Thread | [Next in Thread] |