From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21104 invoked by alias); 23 Sep 2015 14:58:38 -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: X-Seq: 20633 Received: (qmail 495 invoked from network); 23 Sep 2015 14:58:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=4DveKyznsawBiNVUs4cxLhDwnqB2BIdu5YU9zqDuEWU=; b=OU5lkB/PfdfB/ruHW95kI6Nfc5zEnuKnH7fr+S4ZUG/URtwOlN53K3oLppGUIGPZ6W cempIH8R7FHgPtm18gUBJlDghzjIZDeDukRcNJt4A7kTmLMFlq6lXVmmdOWCjX9RAAEi DRykXck3+RrINwNkKBn1Dpl+qTfFUJlhmPKSrKApbCcLfsIOU/1BzaqSyzL+Uyb66dk5 MiQHlRiqIktyvqr+DK4L2/bZquopr4SiOCvlwOQLVnGfGkmBO/v+YE5ooWS/Eb5vhFdV Ui9FdpjAjxfwdVz1NSPMrpew8Pn812MJgux/jSHf8KbkjaW1bPXOrfiwRvN5THokHYge ba1w== X-Gm-Message-State: ALoCoQno+mfK00ZPCH7dHl38dnhQCwr3G+0Yh4pgH4hyL0NKQTm9YIlGuhvdw+XVzx0mL7Bhiuxx X-Received: by 10.60.124.227 with SMTP id ml3mr13378741oeb.16.1443020314798; Wed, 23 Sep 2015 07:58:34 -0700 (PDT) From: Bart Schaefer Message-Id: <150923075831.ZM31939@torch.brasslantern.com> Date: Wed, 23 Sep 2015 07:58:31 -0700 In-Reply-To: <20150923080648.GA1294@ramirez.u-strasbg.fr> Comments: In reply to Marc Chantreux "transformations of glob results" (Sep 23, 10:06am) References: <20150923080648.GA1294@ramirez.u-strasbg.fr> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: transformations of glob results MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 23, 10:06am, Marc Chantreux wrote: } } and i tried variations around } } print ${(j:,:)${(@)listmaster@${(^) /etc/sympa/*/robot.conf(:h:t) }}} } } which } } * doesn't work } * actually looks ugly } } any help from a zsh poweruser ? As Mikael said, this is difficult because globbing comes last. You can fork off the glob $( print -NR /etc/sympa/*/robot.conf(:h:t) ) and then split and rejoin that, but it'll be slower.