Bump to 1.14.1
[platform/upstream/augeas.git] / lenses / darkice.aug
1 (* Darkice module for Augeas
2    Author: Free Ekanayaka <free@64studio.com>
3
4    Reference: man 5 darkice.cfg
5 *)
6
7
8 module Darkice =
9   autoload xfm
10
11
12 (************************************************************************
13  * INI File settings
14  *************************************************************************)
15 let comment  = IniFile.comment IniFile.comment_re IniFile.comment_default
16
17 let sep      = IniFile.sep IniFile.sep_re IniFile.sep_default
18
19 let entry_re = ( /[A-Za-z0-9][A-Za-z0-9._-]*/ )
20 let entry = IniFile.entry entry_re sep comment
21
22 let title   = IniFile.title_label "target" IniFile.record_label_re
23 let record  = IniFile.record title entry
24
25 let lns    = IniFile.lns record comment
26
27 let filter = (incl "/etc/darkice.cfg")
28
29 let xfm = transform lns filter