Parses /etc/modules
Modules | Parses /etc/modules |
Reference | This lens tries to keep as close as possible to `man 5 modules` where possible. |
License | This file is licenced under the LGPL v2+, like the rest of Augeas. |
Lens Usage | To be documented |
Configuration files | This lens applies to /etc/modules. |
Augeas Lenses | |
word | |
sto_line | |
record | |
lns | |
filter |
This lens applies to /etc/modules. See filter.
let word = /[^#, \n\t\/]+/
let sto_line = store /[^# \t\n].*[^ \t\n]|[^# \t\n]/
let record = [ key word . (Util.del_ws_tab . sto_line)? . Util.eol ]
let lns = ( Util.empty | Util.comment | record ) *