[augeas-devel] [Augeas] #237: We need a way to comment-out paths
Augeas
trac at fedorahosted.org
Mon Nov 21 14:37:13 UTC 2011
#237: We need a way to comment-out paths
-------------------------+--------------------------------------------------
Reporter: ptaff | Owner: lutter
Type: enhancement | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.8.0
Keywords: |
-------------------------+--------------------------------------------------
augeas currently has no way to turn paths into comments. Say I have a
configuration file:
{{{
[foo]
bar=1
baz=1
}}}
There is no way in augeas to simply get this:
{{{
[foo]
;bar=1
baz=1
}}}
Of course I can 'rm' the path to get the same effective result, but
commenting out lines seems like a good practice to me. I know I can chain
augeas with sed but it kinda defeats the purpose :)
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/237>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list