From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0043a6a833ad0d4ab1079c5a650c3b23@collyer.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] Ugly hack From: Geoff Collyer In-Reply-To: <20030215174605.I9084@cackle.proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sat, 15 Feb 2003 15:56:28 -0800 Topicbox-Message-UUID: 62652e54-eacb-11e9-9e20-41e7f4b1d025 echo */. would work on Unix, but on Plan 9 matches all files in the current directory (fallout from use of cleanname, perhaps?). However, echo */.. | sed 's;/\.\.($| ); ;g' does print just the names of the directories in the current directory.