Parses simple lines conffiles
Author: Raphael Pinson rap@gmai l.com hink
Simplelines | Parses simple lines conffiles |
License | This file is licenced under the LGPL v2+, like the rest of Augeas. |
Lens Usage | To be documented |
Configuration files | See filter. |
Examples | The Test_Simplelines file contains various examples and tests. |
Augeas Lenses | |
line | A simple, uncommented, line |
lns | The simplelines lens |
Augeas Variables | |
filter |
See filter.
The Test_Simplelines file contains various examples and tests.
A simple, uncommented, line
let line = let line_re = /[^# \t\n].*[^ \t\n]|[^# \t\n]/ in [ seq "line" . Util.indent . store line_re . Util.eol ]
The simplelines lens
let lns = (Util.empty | Util.comment | line)*