| Server IP : 85.214.239.14 / Your IP : 216.73.216.99 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/proc/3/task/3/cwd/usr/share/augeas/lenses/dist/ |
Upload File : |
(*
Module: Rtadvd
Parses rtadvd configuration file
Author: Matt Dainty <matt@bodgit-n-scarper.com>
About: Reference
- man 5 rtadvd.conf
Each line represents a record consisting of a number of ':'-separated fields
the first of which is the name or identifier for the record. The name can
optionally be split by '|' and each subsequent value is considered an alias
of the first. Records can be split across multiple lines with '\'.
*)
module Rtadvd =
autoload xfm
let empty = Util.empty
(* field must not contain ':' unless quoted *)
let cfield = /[a-zA-Z0-9-]+(#?@|#[0-9]+|=("[^"]*"|[^:"]*))?/
let lns = ( empty | Getcap.comment | Getcap.record cfield )*
let filter = incl "/etc/rtadvd.conf"
. Util.stdexcl
let xfm = transform lns filter
(* Local Variables: *)
(* mode: caml *)
(* End: *)