X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lenses%2Fshells.aug;h=87a4842d729f27af3fef6f8a64c3595a2f3d0de6;hb=HEAD;hp=07c96fa4c591a1dbf1c50b36465e8869dc91da38;hpb=d7b8437e42cb45ca532a3f1365b55d2a67e54c4c;p=platform%2Fupstream%2Faugeas.git diff --git a/lenses/shells.aug b/lenses/shells.aug index 07c96fa..87a4842 100644 --- a/lenses/shells.aug +++ b/lenses/shells.aug @@ -8,7 +8,7 @@ About: Reference This lens tries to keep as close as possible to `man 5 shells` where possible. About: License - This file is licenced under the LGPLv2+, like the rest of Augeas. + This file is licenced under the LGPL v2+, like the rest of Augeas. About: Lens Usage To be documented @@ -23,7 +23,8 @@ module Shells = let empty = Util.empty let comment = Util.comment -let shell = [ seq "shell" . store /[^# \t\n]+/ . Util.eol ] +let comment_or_eol = Util.comment_or_eol +let shell = [ seq "shell" . store /[^# \t\n]+/ . comment_or_eol ] (* View: lns The shells lens @@ -32,6 +33,5 @@ let lns = ( empty | comment | shell )* (* Variable: filter *) let filter = incl "/etc/shells" - . Util.stdexcl let xfm = transform lns filter