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

List:       kde-core-devel
Subject:    Re: am_edit magic
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-03-18 20:28:41
[Download RAW message or body]

On Thu, Mar 16, 2000 at 08:40:32PM +0100, Stephan Kulow wrote:
> What you had to do is to add a little grep and sed on the toplevel Makefile
> to add a third case "compile last". But then I would suggest to make it more
> general and introduce a COMPILE_FIRST too

I'm in the process of doing this, but I get stuck by the way
case works:

echo First test
case blah in
(abc|blah|des) echo ok;;
*) echo ko;;
esac;
 
echo Second test
b='(abc|blah|des)';
case blah in
$b) echo ok ;;
*) echo ko;;
esac;

This gives ok but then ko....

Any other way to use a variable in a case statement ?

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

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

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