I've written a short lens for /etc/selinux/config: module SelinuxConfig = autoload xfm
let equals = del /[ \t]*=[ \t]*/ "=" let state = Build.key_value_line "SELINUX" equals (store /(enforcing|permissive|disabled)/) let type = Build.key_value_line "SELINUXTYPE" equals (store Rx.word) let lns = (Util.empty|Util.comment|state|type)* let filter = incl "/etc/selinux/config" let xfm = transform lns filter When I set SELINUX to enforcing in augtool augtool> set /files/etc/selinux/config/SELINUX enforcing I get this SELINUX = enforcing ^ ^ ^ extra spaces when I would prefer SELINUX=enforcing Is there a way to control when spaces are emitted? thanks, joe _______________________________________________ augeas-devel mailing list augeas-devel@redhat.com https://www.redhat.com/mailman/listinfo/augeas-devel