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

List:       kde-core-devel
Subject:    Re: [Patch] Bashism in startkde
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2009-06-01 9:46:31
Message-ID: 20090601094631.GA28788 () ugly ! local
[Download RAW message or body]

On Mon, Jun 01, 2009 at 08:13:01AM +0000, Sune Vuorela wrote:
> On 2009-06-01, Thiago Macieira <thiago@kde.org> wrote:
> > Isn't $() another extension? Shouldn't we use `` instead?
> 
> It depends on what you call "extension".
> $() is posix shell, but afaik not supported by the original Bourne
> Shell. No one uses Bourne Shell today though.
> 
> I just tested:
> 
> FOO=$(id -u)
> echo $FOO
> 
> and I get the expected output in
> bash
> dash 
> posh  
> pdksh
> ksh93
> mksh
> zsh
> 
> (And then I ran out of shells)
> 
now log in into a default install of some closed-source unix and try
again. :-P

fwiw, kde assumes a posix shell in several places, but kprocess goes
through some hoops to make sure it gets one.

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

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