[systemd-devel] [PATCH] ignore comments in multiline variable definitions

Lennart Poettering lennart at poettering.net
Wed Feb 13 11:07:07 PST 2013


On Wed, 13.02.13 20:05, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:

> Actually, the syntax already is _not_ a subset of the shell, and has its
> own pecularities. Anyone trying to blindly follow shell rules is going
> to be severly bitten anyway. So, why not go a bit further and change
> the syntax in a way that is useful for our users?

It's certainly true that we are not compatible with shell, and that we
aren't even trying to be. But in this regard I see no reason to deviate.

But let's take one step back. Can you make a good case why comments
should trump continuation lines? To me that doesn't even sound so
useful, and it would in fact surprise me if things would work that
way...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list