Oz

Oz module for Augeas

Author: Pat Riehecky rieh.nosp@m.ecky@fnal.nosp@m..gov

oz.cfg is a standard INI File.

Summary
OzOz module for Augeas
INI File settingsavahi-daemon.conf only supports “# as commentary and “=” as separator
comment
sep
Entry
entry
Record
title
record
Lens and filter
lns
filter

INI File settings

avahi-daemon.conf only supports “# as commentary and “=” as separator

comment

let comment = IniFile.comment "#" "#"

sep

let sep = IniFile.sep "=" "="

Entry

entry

let entry = IniFile.indented_entry IniFile.entry_re sep comment

Record

title

let title = IniFile.indented_title IniFile.record_re

record

let record = IniFile.record title entry

Lens and filter

lns

let lns = IniFile.lns record comment

filter

let comment = IniFile.comment "#" "#"
let sep = IniFile.sep "=" "="
let entry = IniFile.indented_entry IniFile.entry_re sep comment
let title = IniFile.indented_title IniFile.record_re
let record = IniFile.record title entry
let lns = IniFile.lns record comment
Close