From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25507 invoked by alias); 22 Jun 2015 21:35:13 -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: 20269 Received: (qmail 10917 invoked from network); 22 Jun 2015 21:35:09 -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 Subject: Re: ls -l *(/)... To: zsh-users@zsh.org References: <20150622031753.GA4342@solfire> <55879C40.9020102@necoro.eu> <20150622163654.GB4560@solfire> <55884CFC.6010803@necoro.eu> <150622113052.ZM4976@torch.brasslantern.com> From: Bernd Steinhauser Message-ID: <55887DE4.7050307@bernd-steinhauser.de> Date: Mon, 22 Jun 2015 23:28:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <150622113052.ZM4976@torch.brasslantern.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 22/06/15 20:30, Bart Schaefer wrote: > On Jun 22, 7:59pm, lists@necoro.eu wrote: > } Subject: Re: ls -l *(/)... > } > } > ls */* > } > > } > gives > } > > } > directory: > } > file1 > } > file2 > } > file3 > } > } Well, here, the output is exactly like how you want it (do you have `ls` > } being some alias?). > > I suspect Meino actually has more than one level of directory under the > current one, despite his original description. Or he's not executing > the "ls" at the level of the heirarchy that we think he is. > > print -c */* I'd go for ls **/*(.) but you're right, it's not clear what he really wants.