Re: [gentoo-user] /bin/sh - dash?

2007-11-19 Thread Vaeth
On Sun, 18 Nov 2007, Sean wrote:

 I'd really like to replace the /bin/sh link to point to a smaller shell,
 such as ash or dash instead of the bash default, but that apparently makes
 functions.sh _very_ unhappy.

Use baselayout-2. I use /bin/sh - dash with baselayout-2 and have no
problems with the following exceptions:

1. Some /etc/init.d scripts of certain packages need patches (I already
   mailed several bugs with patches, but some are ignored; e.g. udftools
   still has no working init-file despite new releases and the open bug)
   So you have to be prepared to continue patching for many releases
   of some packages.
   Fortunately, not too many packages are involved (but on the other
   hand, I do not use too many packages with daemons, so maybe there
   are many I don't know about)

2. man displays rubbish at the end of the page. As a workaround,
   I export MANPL=65535, but one should perhaps file a bug upstream.
   However, I cannot name the cause (but did not look very long for it
   either).

3. There were some portage-related tools (but I forgot which one)
   which displayed textual escape sequences instead of colors
   (probably, because echo -e is not POSIX). However, this is
   only a cosmetical issue.

Martin
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] /bin/sh - dash?

2007-11-18 Thread Sean
I'd really like to replace the /bin/sh link to point to a smaller shell,
such as ash or dash instead of the bash default, but that apparently makes
functions.sh _very_ unhappy. Does anyone know of some unbashification
documentation for functions.sh? 

-- 
Sean

  Great Moments in History: #3
  
  August 27, 1949:
A Hall of Fame opened to honor outstanding members of the
Women's Air Corp.  It was a WAC's Museum.


pgpwYnkc1MrpR.pgp
Description: PGP signature