Date: 28 Jul 1999 10:52:50 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Doug <Doug@gorean.org> Cc: Dag-Erling Smorgrav <des@flood.ping.uio.no>, chat@FreeBSD.ORG Subject: Re: What to tell to Linux-centric people?! Message-ID: <xzplnc140m5.fsf@flood.ping.uio.no> In-Reply-To: Doug's message of "Tue, 27 Jul 1999 13:00:17 -0700 (PDT)" References: <Pine.BSF.4.05.9907271250100.1387-100000@dt011n65.san.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug <Doug@gorean.org> writes: > On 27 Jul 1999, Dag-Erling Smorgrav wrote: > > > Len Huppe <huppe@execpc.com> writes: > > > As a newcomer to FreeBSD, I am intersted in knowing why so many of you > > > *hate* bash. > > > > It's buggy > > How and where? Most prominently, it suffers from the same globbing bugs (well, they're documented, so I guess they're features now) as every other Bourne shell out there (specifically, if no files match a given pattern, the pattern is left unexpanded. Real Shells [tm] issue an error.) > 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. :) Better scripting contructs. Multiple selectable scripting syntaxes (even csh syntax, if you absolutely must). Built-in test with -nt, -ot etc. operators (like NetBSD's test(1)). Advanced variable expansion. Very advanced globbing, which includes selecting files based on their types, selecting only part of the names of the selected files, excluding files which match a specific pattern, etc. Programmable completion which can for instance be configured to complete arguments to common commands, e.g. package names for pkg_info or pkg_delete, CVS commands for cvs, user names for chown. More flexible prompt. A startup script sequence you can actually understand (why the h* won't bash read .bashrc if the shell is a login shell?). A large number of options which allow one to fine-tune completion behaviour, scripting syntax, globbing behaviour, and bug compatibility with other shells. Autoloading of functions when they're invoked. Builtin scheduler. Tons of other stuff. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzplnc140m5.fsf>