[augeas-devel] [Augeas] #200: != operator not working in path expressions?
Augeas
trac at fedorahosted.org
Wed May 25 21:34:39 UTC 2011
#200: != operator not working in path expressions?
----------------------+-----------------------------------------------------
Reporter: lkrejci | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.8.0
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by lkrejci):
Oh, forgot to format that:
1) Have a daily cron job in your /etc/crontab:
{{{
0 0 * * * root echo hello
1 0 * * * root echo hi
}}}
2)
{{{
augtool> match /files/etc/crontab/entry[time/minute = '0']
/files/etc/crontab/entry[1] = echo hello
augtool> match /files/etc/crontab/entry[time/minute = '1']
/files/etc/crontab/entry[2] = echo hi
augtool> match /files/etc/crontab/entry[time/minute != '1']
(no matches)
augtool> match /files/etc/crontab/entry[time/minute != '0']
(no matches)
}}}
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/200#comment:1>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list