[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UNIX shells - Bourne and C



On Sun, Nov 10, 2002 at 12:26:23AM -0600, Nathan E Norman wrote:
> On Sat, Nov 09, 2002 at 06:39:51PM -0500, Joshua Lee wrote:
> > On Sat, Nov 09, 2002 at 06:19:53PM -0500, Bruce Park wrote:
> > > Just wanted to know, does debian linux include the Bourne and C shell? In 
> > > redhat, they are a symbolic link to bash and tcsh respectively.
> > 
> > You can install ash, the BSD sh, which is closer to the actual Bourne 
> > shell in behavior. I think csh is also similar. You should (and probably
> > do) have bash also installed in a Linux system however because it's a 
> > defacto standard in the Linux world.
> 
> bash is Priority: required. Removing it would certainly make life
> interesting :)

By the way, dash will be the POSIX shell in testing/unstable

Bashism such as "export FOO=bar" is no-no :)

> ash is supposed to be POSIX compliant, and according to the package
> description it makes a better /bin/sh because it is smaller.  However

initrd image needs it (dash is new improved ash)

> I beleive there are some Bourne shell features not present in ash (I
> don't have a reference for that, it's from memory which may be
> faulty).
> 
> AFAIK tcsh is the only C shell available for Debian.

Nope:

Package: csh
Priority: optional
Section: shells
Installed-Size: 348
Maintainer: Matej Vela <vela@debian.org>
Architecture: i386
Version: 20020413-1
Provides: c-shell
Depends: libc6 (>= 2.2.4-4)
Filename: pool/main/c/csh/csh_20020413-1_i386.deb
Size: 225378
MD5sum: fe48d2f5c00a2d194124a1dddd85a46d
Description: Shell with C-like syntax, standard login shell on BSD systems.
 The C shell was originally written at UCB to overcome limitations in the
 Bourne shell.  Its flexibility and comfort (at that time) quickly made it
 the shell of choice until more advanced shells like ksh, bash, zsh or
 tcsh appeared.  Most of the latter incorporate features original to csh.
 .
 This package is based on current OpenBSD sources.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki <osamu@debian.org>   Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://qref.sf.net and http://people.debian.org/~osamu
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



Reply to: