3 Parses /etc/ld.so.conf and /etc/ld.so.conf.d/*
5 Author: Raphael Pinson <raphink@gmail.com>
8 This file is licenced under the LGPL v2+, like the rest of Augeas.
13 About: Configuration files
14 This lens applies to /etc/ld.so.conf and /etc/ld.so.conf.d/*. See <filter>.
17 The <Test_Ldso> file contains various examples and tests.
25 let path = [ label "path" . store /[^# \t\n][^ \t\n]*/ . Util.eol ]
28 let include = Build.key_value_line "include" Sep.space (store Rx.fspath)
32 let hwcap_val = [ label "bit" . store Rx.integer ] . Sep.space .
33 [ label "name" . store Rx.word ]
34 in Build.key_value_line "hwcap" Sep.space hwcap_val
37 let lns = (Util.empty | Util.comment | path | include | hwcap)*
39 (* Variable: filter *)
40 let filter = incl "/etc/ld.so.conf"
41 . incl "/etc/ld.so.conf.d/*"
44 let xfm = transform lns filter