HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: //snap/certbot/5057/usr/share/augeas/lenses/dist/cmdline.aug
(*
Module: Cmdline
  Parses /proc/cmdline and /etc/kernel/cmdline

Author: Thomas Weißschuh <[email protected]>

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

module Cmdline =
  autoload xfm

let entry = [ key Rx.word . Util.del_str "=" . store Rx.no_spaces ] | [ key Rx.word ]

let lns = (Build.opt_list entry Sep.space)? . del /[ \t]*\n?/ ""

let filter = incl "/etc/kernel/cmdline"
           . incl "/proc/cmdline"

let xfm = transform lns filter