[Patch] Bashism in startkde
ossi at kde.org
Mon Jun 1 10:46:31 BST 2009
On Mon, Jun 01, 2009 at 08:13:01AM +0000, Sune Vuorela wrote:
> On 2009-06-01, Thiago Macieira <thiago at 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
> (And then I ran out of shells)
now log in into a default install of some closed-source unix and try
fwiw, kde assumes a posix shell in several places, but kprocess goes
through some hoops to make sure it gets one.
More information about the kde-core-devel