Server IP : 172.67.158.161 / Your IP : 18.188.168.78 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/puppetlabs/puppet/share/augeas/lenses/dist/ |
Upload File : |
(* Parsing /etc/ethers *) module Ethers = autoload xfm let sep_tab = Util.del_ws_tab let eol = del /[ \t]*\n/ "\n" let indent = del /[ \t]*/ "" let comment = Util.comment let empty = [ del /[ \t]*#?[ \t]*\n/ "\n" ] let word = /[^# \n\t]+/ let address = let hex = /[0-9a-fA-F][0-9a-fA-F]?/ in hex . ":" . hex . ":" . hex . ":" . hex . ":" . hex . ":" . hex let record = [ seq "ether" . indent . [ label "mac" . store address ] . sep_tab . [ label "ip" . store word ] . eol ] let lns = ( empty | comment | record ) * let xfm = transform lns (incl "/etc/ethers")