[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Patch] Bashism in startkde
From:       David Johnson <david () usermode ! org>
Date:       2009-06-01 2:15:49
Message-ID: 200905311915.49640.david () usermode ! org
[Download RAW message or body]

On Sunday 31 May 2009 06:42:34 pm Armin Berres wrote:
>
> Debian and Ubuntu both want to support to use something else but
> /bin/bash as /bin/sh. Therefore it is required, that all scripts whith
> "#!/bin/sh" contain no bash specific code, but just POSIX features.

This has been best practice since the early days of bash (and ksh). While bash 
will run Bourne/POSIX shells scripts flawless, the reverse is not true. Debian 
(and most derivatives), Slackware, *BSD, Solaris, many embedded Linuxes, etc, 
don't have bash linked to /bin/sh.

-- 
David Johnson

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic