Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2008 01:02:08 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Steve Watt <steve@Watt.COM>
Cc:        questions@freebsd.org
Subject:   Re: Glob error?
Message-ID:  <20081108010208.213ecadf.freebsd@edvax.de>
In-Reply-To: <20081107231303.GA9804@wattres.Watt.COM>
References:  <20081107231303.GA9804@wattres.Watt.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Nov 2008 15:13:03 -0800, Steve Watt <steve@Watt.COM> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081108010208.213ecadf.freebsd>