3 Parses /etc/updatedb.conf
5 Author: Raphael Pinson <raphink@gmail.com>
8 This lens tries to keep as close as possible to `man 5 updatedb.conf` where possible.
11 This file is licenced under the LGPL v2+, like the rest of Augeas.
16 About: Configuration files
17 This lens applies to /etc/updatedb.conf. See <filter>.
20 The <Test_UpdateDB> file contains various examples and tests.
30 let entry = [ label "entry" . store Rx.no_spaces ]
31 in let entry_list = Build.opt_list entry Sep.space
32 in [ key /PRUNE(FS|NAMES|PATHS)/ . Sep.space_equal
33 . Quote.do_dquote entry_list . Util.doseol ]
37 let bool = [ key "PRUNE_BIND_MOUNTS" . Sep.space_equal
38 . Quote.do_dquote (store /[01]|no|yes/)
42 The <UpdateDB> lens *)
43 let lns = (Util.empty|Util.comment|list|bool)*
47 let filter = incl "/etc/updatedb.conf"
49 let xfm = transform lns filter