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=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 8351 invoked from network); 15 Apr 2020 23:55:51 -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; 15 Apr 2020 23:55:51 -0000 Received: (qmail 5152 invoked by alias); 15 Apr 2020 23:55:45 -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: 24776 Received: (qmail 15100 invoked by uid 1010); 15 Apr 2020 23:55:45 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot1-f53.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.210.53):SA:0(-1.9/5.0):. Processed in 1.922434 secs); 15 Apr 2020 23:55:45 -0000 X-Envelope-From: schaefer@brasslantern.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.210.53 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=pQYelZb6SWYO6+k/g5fL1uVm22CjUToFBrID2DA47Ts=; b=YF/2dqycvWC8e+hS1hx0sKpu/FChC1Blcuqp8uetMd29bjiqYgF2oa56DrDJa4dda1 MmwGbTSIcAy11coMnmSAo0DFlKujhEzQPkDJbCMspxhcxAWNWQV6qHi/+RU1RKDv8moz a2Sq6ZKc+NcJneJpTOcpCLIc4HI8A2AKQfJbwQXtOl8EpLwUfUYZyE8rN4stgowvXJLo INauizgdIRlEoELnh6JCxxoZNa+kL35uYK34pZCHByWrYcOBd1Lz+0JcRgQM3cD+lgiW R1D7J6RQS9fif6tevXfTU7Yqf+W4VukuLpQeaT95RYnHyNhIepRWzXkfhVE22AzFTLA8 ME0w== X-Gm-Message-State: AGi0PuZt1T9HJgOxhS7LU+kl6o8BvKh0J+vhEtq+1liL1hpn5SlcgW2Y 89Kw7jqBPxLGFcv5fHHnCkAh4dTd/wuTfgE4B5lc6w== X-Google-Smtp-Source: APiQypLyP1iLc+/9B6+bY3DbIYGLiJj+e7JdUBf6MCWv4rVmswxNxvrokzEd33iI6+jxzA1GQsG+U1fwik8Qsel2mbc= X-Received: by 2002:a05:6830:1bf7:: with SMTP id k23mr25795565otb.260.1586994910277; Wed, 15 Apr 2020 16:55:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bart Schaefer Date: Wed, 15 Apr 2020 16:54:59 -0700 Message-ID: Subject: Re: indirect assignment to array To: Pier Paolo Grassi Cc: Zsh-Users List Content-Type: text/plain; charset="UTF-8" On Wed, Apr 15, 2020 at 4:43 PM Pier Paolo Grassi wrote: > > is there a way to use typeset from functions to print out the definition of > global variables? typeset -p should do it, as long as a parameter of the same name has not already been declared local.