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

List:       kde-core-devel
Subject:    Re: kmapnotify, LD_PRELOAD, (t)csh and aaarrgh! I'll die today! :-)
From:       Matthias Hoelzer-Kluepfel <mhk () caldera ! de>
Date:       2000-05-29 14:37:18
[Download RAW message or body]

On Mon, 29 May 2000, Rik Hemsley wrote:

> #if Matthias Hoelzer-Kluepfel
> > Hm, what about
> > 
> > set LD_PRELOAD=hallo || LD_PRELOAD=hallo ; echo $LD_PRELOAD
> > 
> > Works with both shells.
> 
> ---------------
> Z ~ > /bin/sh -c 'set LD_PRELOAD=hallo || LD_PRELOAD=hallo ; echo $LD_PRELOAD'
> 
> Z ~ > /bin/csh -c 'set LD_PRELOAD=hallo || LD_PRELOAD=hallo ; echo $LD_PRELOAD' hallo
> ---------------
> 
> Doesn't seem to :(

Hm, I tried with bash and tcsh. But it does not work with zsh,
eg. I guess there is no other way that to write a small script
that finds out what shell it is.


Bye,
Matthias.

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

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