From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6662 invoked from network); 13 Feb 2003 15:02:13 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Feb 2003 15:02:13 -0000 Received: (qmail 7177 invoked by alias); 13 Feb 2003 15:01:20 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5916 Received: (qmail 7134 invoked from network); 13 Feb 2003 15:01:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Feb 2003 15:01:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.58.69.233] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Feb 2003 15:1:18 -0000 Received: by cherry.fruitcom.com (Postfix, from userid 1000) id D091B5791B; Thu, 13 Feb 2003 15:57:38 +0100 (CET) Date: Thu, 13 Feb 2003 15:57:38 +0100 From: Eric Smith To: Zsh Users Subject: Re: echo-ing case insensitively Message-ID: <20030213145737.GF2260@fruitcom.com> References: <20030212225953.GA2479@fruitcom.com> <1030213045937.ZM6783@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1030213045937.ZM6783@candle.brasslantern.com> X-outgoing: save User-Agent: Mutt/1.5.3i Bart Schaefer said: > On Feb 12, 11:59pm, Eric Smith wrote: > > > > I do not use directories much - I prefer underscores in filenames. > > I suspect I know what you mean, but it's really not clear what the > second clause has to do with the first. It was a cryptic reference to my ideology which you are provoking me now to impose on others.... Well I find directories that enforce a one-dimensional hierarchy very restrictive and maps poorly to the real world. Accordingly I use underscores in filenames to create "namespaces" like others would create dirs. But the freedom of not using directories allows files to live under many different classes or categories simultaneously. Then when you use the enhanced print function that you kindly offered, it instantaneously finds files by any key word. Faster than ls, find or locate and real-time with the file-system. Nest challenge would be to give se() multiple words and it will match any file with those strings in it - you can trivially implement this with: se draft|grep -i recent|grep -i whatever But that is not zshellese and is of course very boring (and inefficient). > Which of compctl or compsys are you using? The latter (of course). Thanks for your help. -- Eric Smith