403Webshell
Server IP : 66.29.132.122  /  Your IP : 3.135.182.107
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/share/augeas/lenses/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/puppetlabs/puppet/share/augeas/lenses/dist/approx.aug
(*
Module: Approx
  Parses /etc/approx/approx.conf

Author: David Lutterkort <lutter@redhat.com>

About: Reference
  This lens tries to keep as close as possible to `man 5 approx.conf` where possible.

About: License
   This file is licenced under the LGPL v2+, like the rest of Augeas.

About: Lens Usage
   See <lns>.

About: Configuration files
   This lens applies to /etc/approx/approx.conf.

About: Examples
   The <Test_Approx> file contains various examples and tests.
*)

module Approx =
  autoload xfm

  (* Variable: eol
     An <Util.eol> *)
  let eol = Util.eol

  (* Variable: indent
     An <Util.indent> *)
  let indent = Util.indent

  (* Variable: key_re *)
  let key_re = /\$?[A-Za-z0-9_.-]+/

  (* Variable: sep *)
  let sep = /[ \t]+/

  (* Variable: value_re *)
  let value_re = /[^ \t\n](.*[^ \t\n])?/

  (* View: comment *)
  let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# "
        . store /([^ \t\n].*[^ \t\n]|[^ \t\n])/ . eol ]

  (* View: empty
     An <Util.empty> *)
  let empty = Util.empty

  (* View: kv *)
  let kv = [ indent . key key_re . del sep " " . store value_re . eol ]

  (* View: lns *)
  let lns = (empty | comment | kv) *

  (* View: filter *)
  let filter = incl "/etc/approx/approx.conf"
  let xfm = transform lns filter

Youez - 2016 - github.com/yon3zu
LinuXploit