5 Author: Raphael Pinson <raphink@gmail.com>
8 This lens tries to keep as close as possible to `man 5 shells` where possible.
11 This file is licenced under the LGPL v2+, like the rest of Augeas.
16 About: Configuration files
17 This lens applies to /etc/shells. See <filter>.
24 let empty = Util.empty
25 let comment = Util.comment
26 let comment_or_eol = Util.comment_or_eol
27 let shell = [ seq "shell" . store /[^# \t\n]+/ . comment_or_eol ]
32 let lns = ( empty | comment | shell )*
34 (* Variable: filter *)
35 let filter = incl "/etc/shells"
37 let xfm = transform lns filter