[augeas-devel] Prefix for IniFile entries
Raphaël Pinson
raphink at gmail.com
Tue Aug 26 19:19:51 UTC 2008
On Tue, Aug 26, 2008 at 7:23 PM, Free Ekanayaka <free at 64studio.com> wrote:
> Hi,
>
> the /etc/samba/smb.conf is basically a INI file, but it allows entries
> to be prefixed by spaces and tabs, like:
>
> [global]
>
> # Change this to the workgroup/NT-domain name your Samba server will part
> of
> workgroup = WORKGROUP
>
> Is there are way to set this as a parameter in inifile.aug?
>
I have considered adding indentation support to inifile.aug but it does not
seem to be standard INI file syntax, and adding it optionally would make the
interface heavier.
>
> I've tried to define an entry as:
>
> let entry = del / */ "" . IniFile.entry setting sep comment
>
You could probably use Util.indent instead of this.
Ciao
Raphael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080826/da760219/attachment.htm>
More information about the augeas-devel
mailing list