On Mon, Mar 5, 2012, at 12:16 PM, Raphaël Pinson wrote:
> Hello,
> 
> On Mon, Mar 5, 2012 at 10:32 AM, Biltong <bilt...@fastmail.fm> wrote:
> > Is it possible to list all lenses that Augeas supports?
> 
> 
> Yes, in augtool you can use:
> 
> augtool> print /augeas//incl

Aha, good to know. Thanks.

> 
> which will list all include paths. Beware that there's also "excl"
> nodes for exclusions on wildcards.
> 
> 
> >
> > I'd like to edit a .ini file without defining a new lens. When I try, I
> > get an error:
> >
> > augtool> set /augeas/load/IniFile/lens inifile
> > augtool> set /augeas/load/IniFile/incl /some/file.ini
> > augtool> load
> > error: Lens not found
> > error: Can not find lens inifile
> >
> > I can see a inifile.aug in /usr/share/augeas/lenses/dist
> >
> > What's going on? Thanks.
> 
> 
> As Dominic already said, inifile.aug is a generic lens used to build
> IniFile lenses, since IniFiles are not standard.
> 
> 
> Raphaël
> 

-- 
http://www.fastmail.fm - Send your email first class


_______________________________________________
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to