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

Re: perl wants csh



Bruce Perens writes:
> 
> > I think somebody (preferredly either the
> > maintainer of bash or pdksh) should package a minimal version of their
> > shell (without readline, builtins, etc.) to provide a /bin/sh which
> > might be used for scripts.
> 
> ASH, at 60k, would be good for this. The only incompatibility I've seen
> so far is that it doesn't handle the "#", "##", "%", and "##" pattern
> matching. Perhaps it should have that added.
> 
> However, you are overlooking the fact that the pages of executables are
> shared. If you have one user running "bash", all other copies share the
> same pages, and only create their own copies of data that they alter.
> 
> I am curious about why tcsh is 3X the size of csh. Is it not linking with
> the shared readline? I suspect this is a library problem.

tcsh doesn't use readline

Andrew

-- 
Dehydration - 34%, Recollection of previous evening - 2%, embarrassment
factor - 91%.  Advise repair schedule:- off line for 36 hours, re-boot
startup disk, and replace head - wow, what a night!
                -- Kryten in Red Dwarf `The Last Day'

Andrew Howell		   		      howellaa@cs.curtin.edu.au 
Perth, Western Australia	     andrew@it.com.au andrew@debian.org



Reply to: