From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14430 invoked by alias); 1 Mar 2011 16:56:03 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28828 Received: (qmail 11425 invoked from network); 1 Mar 2011 16:56:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at klanderman.net does not designate permitted sender hosts) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19821.9197.225140.311873@gargle.gargle.HOWL> Date: Tue, 1 Mar 2011 11:50:53 -0500 From: Greg Klanderman To: Zsh list Subject: 'K' subscript flag with associative array? Reply-To: gak@klanderman.net X-Mailer: VM 8.0.12-devo-585 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid (i386-redhat-linux) Hi guys, what am I doing wrong here? Shouldn't this: zsh% echo ${(k)functions[(K)_*]} give all function names starting with '_'? It gives me nothing; the 'R' subscript flag does seem to work for matching against the bodies of functions and returning the names of those functions. thanks, Greg