From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12704 invoked by alias); 22 Jun 2015 18:31:08 -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: 20265 Received: (qmail 24034 invoked from network); 22 Jun 2015 18:31:05 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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=KdLLBUj7lv67AorRi+MSxcN8DPiJd1KnT4WfPWQlYN4=; b=VG0UtGnXoEbxwnrTafrS5nlA1LDMpfjOLuBAeKGOvZuhGcAXboYz0YfHftcvhtAtLe 6s6jcjt4raPo7HD2RUb//F+2NfBp3wkIZGgkdlWBCMFdUEkTwPjCX1fvCxqkJlgceKNK 2OKHj0v/8cuTBBZZUvku9b05A7uHYX+ggZFL7SktEOFfM/LM5iXyFc/h+YyKi/r2COVZ qbu/mnaFlzZQzwt6pcaOUENB14hWS7pNirgJc+oOIyZ1ZmKO7aPmC+4RpMt4vxQwXj5T E8/mjyLKXz+A1xLNFtF09Ih4zDncq6QlP0pG3zac521tX22fhu65MQrkFpZEm1Z7eEzo 0lMw== X-Gm-Message-State: ALoCoQkRhq9FqOX0Yrb/ZCz8NKkD4gV/EibzA4g/32pi/xbti/kgX8AnZeH7GbTT8T3UmmmLUIn4 X-Received: by 10.202.67.10 with SMTP id q10mr15036421oia.124.1434997860917; Mon, 22 Jun 2015 11:31:00 -0700 (PDT) From: Bart Schaefer Message-Id: <150622113052.ZM4976@torch.brasslantern.com> Date: Mon, 22 Jun 2015 11:30:51 -0700 In-Reply-To: <55884CFC.6010803@necoro.eu> Comments: In reply to lists@necoro.eu "Re: ls -l *(/)..." (Jun 22, 7:59pm) References: <20150622031753.GA4342@solfire> <55879C40.9020102@necoro.eu> <20150622163654.GB4560@solfire> <55884CFC.6010803@necoro.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: ls -l *(/)... MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 */* might be what is wanted here. Or possibly ls -ld */* or maybe even ls -ld */*/* The problem description isn't very clear.