From owner-freebsd-questions@FreeBSD.ORG Sat Nov 8 00:02:12 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DFDD1065678 for ; Sat, 8 Nov 2008 00:02:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D640B8FC14 for ; Sat, 8 Nov 2008 00:02:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-88-233.dynamic.qsc.de [92.196.88.233]) by mx01.qsc.de (Postfix) with ESMTP id 29A7650913; Sat, 8 Nov 2008 01:02:09 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mA8028jg004188; Sat, 8 Nov 2008 01:02:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 8 Nov 2008 01:02:08 +0100 From: Polytropon To: Steve Watt Message-Id: <20081108010208.213ecadf.freebsd@edvax.de> In-Reply-To: <20081107231303.GA9804@wattres.Watt.COM> References: <20081107231303.GA9804@wattres.Watt.COM> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Glob error? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 00:02:12 -0000 On Fri, 7 Nov 2008 15:13:03 -0800, Steve Watt wrote: > ( Please cc: me on replies, as I can't keep up with traffic on -questions ) > > I did the following: > > % cd /tmp > % mkdir -p a/dir1/new a/dir1/cur > % mkdir -p b/dir1/new b/dir1/cur > % mkdir -p c/dir1/new c/dir1/cur > % ls -ld */dir1/new > drwxrwxr-x 2 steve wheel 512 Nov 7 15:10 a/dir1/new/ > % Really strange... I did use C Shell on FreeBSD 7-STABLE. % mkdir -p a/dir1/new a/dir1/cur % mkdir -p b/dir1/new b/dir1/cur % mkdir -p c/dir1/new c/dir1/cur % ls -ld */dir1/new drwxr-xr-x 2 poly staff 512 Nov 8 00:57 a/dir1/new/ drwxr-xr-x 2 poly staff 512 Nov 8 00:57 b/dir1/new/ drwxr-xr-x 2 poly staff 512 Nov 8 00:57 c/dir1/new/ > Shell doesn't seem to matter (have tried both tcsh and bash). I did try BASH too, with same result as above - works. The calls to mkdir and ls refer to programs, not to shell internal commands. The only problem could be the * wildcard that the shell would have to expand before calling the actual ls program... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...