From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 3341 invoked from network); 16 Apr 2020 16:04:24 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 16 Apr 2020 16:04:24 -0000 Received: (qmail 14762 invoked by alias); 16 Apr 2020 16:04:10 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24779 Received: (qmail 17163 invoked by uid 1010); 16 Apr 2020 16:04:10 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f54.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25779. spamassassin: 3.4.4. Clear:RC:0(209.85.166.54):SA:0(-2.8/5.0):. Processed in 3.940976 secs); 16 Apr 2020 16:04:10 -0000 X-Envelope-From: pierpaolog@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.54 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uS2CCDCfkQ6xSPjT8bW+ry692xhk7gNspZyfEwarb3A=; b=k7BJT+j48eJLkcxCWS0XLiPCjVB0b4jCVN6It+Gla/NLUkyPpLQ/L0aVeIyTLqvoVz /ZZJTfE+vGaLYdu76GY0d9ZczQX8htW+HT4JxlhwqjPxCFlq9O0Kk5lGRUTVd24CkLYZ sfSSMkZ+N6j6Kx3ZdZ/EOWmFwxWNvy5/KWVlhFtjW3AgIKGAh/VjqoX/dzgX8TkHz42j qNWIFDS6SdRvarvS7bomLCfURCz8wL2OJC/24ANRzdflnDfHM37BibuN8ibI/5CXDIwy ABeZFqYEyUraW1b3ZfdYhbP8ATHLaaeBkwizS6nqNK8P8H619U3cFBHpw0z860pz7irt vP4w== X-Gm-Message-State: AGi0PuYNDiV3PWP56u+Y/MimYHNbGcu6y2k8xewki/4UPdL66iS6LydS ymMn6JOUf0FtJtyYv6cxePfTSChBaXS/4TdzK4o= X-Google-Smtp-Source: APiQypKtizhRaa7nMjwG/uA1KTLvFVP8LEqtfNWmc/F/7uZwQ09S9FCP1cqb1LAcywhUlWffufhRYAWomm80PDRy8+g= X-Received: by 2002:a02:7b21:: with SMTP id q33mr30747306jac.24.1587053013304; Thu, 16 Apr 2020 09:03:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pier Paolo Grassi Date: Thu, 16 Apr 2020 18:02:56 +0200 Message-ID: Subject: Re: indirect assignment to array To: Bart Schaefer Cc: Zsh-Users List Content-Type: multipart/alternative; boundary="00000000000019121105a36a93e0" --00000000000019121105a36a93e0 Content-Type: text/plain; charset="UTF-8" cool, thanks! Pier Paolo Grassi linkedin: https://www.linkedin.com/in/pier-paolo-grassi-19300217 founder: https://www.meetup.com/it-IT/Machine-Learning-TO Il giorno gio 16 apr 2020 alle ore 02:12 Bart Schaefer < schaefer@brasslantern.com> ha scritto: > On Wed, Apr 15, 2020 at 5:06 PM Pier Paolo Grassi > wrote: > > > > Is there a way to test if a variable is of type array? > > var=module_path > print -r ${(tP)var} $var > --00000000000019121105a36a93e0--