[systemd-devel] systemctl edit TODO item
Ronny Chevalier
chevalier.ronny at gmail.com
Wed Mar 18 05:54:02 PDT 2015
2015-03-18 10:09 GMT+01:00 Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>:
> On Wed, Mar 18, 2015 at 12:13:39PM +0100, Ronny Chevalier wrote:
>> Hi,
>>
>> About the TODO item of systemctl edit:
>> "Upon editor exit, lines with one # are removed, lines with two # are
>> left with one #, etc."
>>
>> I don't really agree, because if you have some comments in your
>> drop-in file, you will have to remember every time you edit it to
>> prepend one # to each one of your comments if you don't want them to
>> be removed.
> The idea was to prepend all existing comments with an extra hash.
> Then lines with a single hash can be used without conflicting with
> existing comments and the old comments can be restored exactly to their
> previous form after editing is done.
>
> existing
> blah
> # comment
>
> during edit
> blah
> ## comment
> # edit-intstructions and whatnot
>
> after edit
> blah
> # comment
>
Ok, I understand, it makes more sense now.
Thanks!
> Zbyszek
More information about the systemd-devel
mailing list