[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Canonical pushes upstart into user session - systemd developer complains

2012/12/2 Vincent Lefevre <vincent@vinc17.net>:
> No, that's not sufficient. You may want relations between key-value
> pair. For instance, if you have a line with a key "foo", then a line
> with a key "bar" must also exist. Or a line with a key "number" must
> have a value that is a number (more generally matching some regexp).

For such configs general programming languages are good.

E. g. perl:

$foo = "wtf";

if ($foo && !$bar) {


Reply to: