From owner-freebsd-chat Thu Jul 29 13:48: 2 1999 Delivered-To: freebsd-chat@freebsd.org Received: from dt011n65.san.rr.com (dt011n65.san.rr.com [204.210.13.101]) by hub.freebsd.org (Postfix) with ESMTP id B89691511D for ; Thu, 29 Jul 1999 13:47:55 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt011n65.san.rr.com (8.8.8/8.8.8) with ESMTP id NAA24448; Thu, 29 Jul 1999 13:47:11 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <37A0BDCE.B37C489A@gorean.org> Date: Thu, 29 Jul 1999 13:47:10 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Dominic Mitchell Cc: chat@FreeBSD.ORG Subject: Re: What to tell to Linux-centric people?! References: <19990728094335.D16017@voodoo.pandhm.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dominic Mitchell wrote: > > On Tue, Jul 27, 1999 at 01:00:17PM -0700, Doug wrote: > > What features specifically do you recommend that we look at other > > than those two, and how do they differ from bash? I'm willing to give > > another shell a look, but "Use this, it's better" isn't a convincing > > argument for me. :) > > Extended globbing. eg: less [A-Z]*(.) to view all the README files and > suchlike in a directory, whilst ignoring things like CVS. Another > favorite is "find /sys/*~compile | xargs egrep", which looks in all > kernel source directories except the compile tree. You can do both of these with extglob in Bash. You could also put CVS in your GLOBIGNORE variable if you wanted to. > Programmable completion. As mentioned, this is coming. > You can get implicit tees and cats with redirection syntax. eg: > "ls -l > file1 > file2". Hmmm.. ok, that sounds cool, but personally I dislike adding features to a shell that are already present elsewhere. > You can turn off csh-style history easily ("setopt nobanghist"). Very > important! 'set +H' Why is it important (to you)? > For new users, if it sees a command beginning with rm and ending in "*", > it asks if you're sure. That's gotta be the number one complaint about > Unix from DOS people. Heh... well idiot proofing can be considered a feature. > Autoloaded functions (load on demand is a better description). I know > that ksh and zsh have these, but I don't think bash does. Hmmm... that sounds interesting, but I don't have so many functions defined that keeping them in memory is a burden. > One thing I find quite useful is that you can extend the "~user" syntax > with your own variables. So, on our web cache machine, I automatically > set "squid=/cacheboy/data01/squid" and I can then do "cd ~squid/logs". You could do the same thing with the 'cdable_vars' shopt, and not have to type the ~. :) > Generally, there are lots of little extensions that make life much > easier. I would reccomend looking at: Ok, I will look at those resources, and probably try zsh out when I get some free time. And I'd like to reiterate that I'm not trying to change anyone's mind here, just pointing out that a lot of the perceived differences that people base their decisions on just don't exist. Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message