Path expressions currently do not allow whitespace in labels; that means that you can't write
match '/files/etc/php.ini/mail function/SMTP' instead, you have to write match '/files/etc/php.ini/mail\ function/SMTP' This is awkward for tools that use augeas, like netcf[1] There's actually no harm in allowing whitespace inside path components. This patch makes the first form of the match legal. Note that space is still stripped from the beginning and end of path components, i.e. '/files/ etc ' is the same as '/files/etc'; I hope nobody is crazy enough to have file names start or end with whitespace. I am sure I'll be proven wrong. David [1] The bug that sparked this: https://bugzilla.redhat.com/show_bug.cgi?id=700608 _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
