3 Parses /proc/cmdline and /etc/kernel/cmdline
5 Author: Thomas Weißschuh <thomas.weissschuh@amadeus.com>
8 This file is licensed under the LGPL v2+, like the rest of Augeas.
14 let entry = [ key Rx.word . Util.del_str "=" . store Rx.no_spaces ] | [ key Rx.word ]
16 let lns = (Build.opt_list entry Sep.space)? . del /[ \t]*\n?/ ""
18 let filter = incl "/etc/kernel/cmdline"
19 . incl "/proc/cmdline"
21 let xfm = transform lns filter