[systemd-devel] [PATCH] ignore comments in multiline variable definitions
zbyszek at in.waw.pl
Wed Feb 13 12:52:19 PST 2013
On Wed, Feb 13, 2013 at 08:07:07PM +0100, Lennart Poettering wrote:
> 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?
useful only for long lines with a hash mark in the middle.
useful for commenting out a single line of a multi-line stanza,
by editing only that line, which should be less error-prone.
Repeating the example from the original bug report:
> To me that doesn't even sound so
> useful, and it would in fact surprise me if things would work that
More information about the systemd-devel