Date: Thu, 29 Jul 1999 13:47:10 -0700 From: Doug <Doug@gorean.org> To: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk> Cc: chat@FreeBSD.ORG Subject: Re: What to tell to Linux-centric people?! Message-ID: <37A0BDCE.B37C489A@gorean.org> References: <xzp7lnm5v3x.fsf@flood.ping.uio.no> <Pine.BSF.4.05.9907271250100.1387-100000@dt011n65.san.rr.com> <19990728094335.D16017@voodoo.pandhm.co.uk>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37A0BDCE.B37C489A>
