[augeas-devel] [Augeas] #230: Parse error on /etc/default/console-setup
Augeas
trac at fedorahosted.org
Fri Nov 18 07:46:38 UTC 2011
#230: Parse error on /etc/default/console-setup
-----------------------+----------------------------------------------------
Reporter: domcleal | Owner: lutter
Type: defect | Status: new
Priority: minor | Milestone: next
Component: Augeas | Version: 0.8.0
Resolution: | Keywords: shellvars
-----------------------+----------------------------------------------------
Comment (by raphink):
Replying to [comment:3 domcleal]:
> Replying to [comment:2 raphink]:
> > Should we parse full bash syntax or keep to pure shellvars?
>
> I was thinking we should ignore/del the bash syntax, keeping to just
shellvars.
In order to ignore them, we need to parse them all the same, so we could
write things like:
{{{
{ "if" = "some condition"
{ "var" = "value" }
{ "else"
{ "var2" = "value2" } } }
}}}
for
{{{
if some condition; then
var=value
else
var2=value2
fi
}}}
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/230#comment:4>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list