[augeas-devel] augeas
Francis Giraldeau
francis.giraldeau at gmail.com
Tue Apr 3 03:47:23 UTC 2012
Le lundi 02 avril 2012 à 08:22 -0500, Pablo Soria Acosta a écrit :
> Hello
> I need to get a samba server value contains a space, but this example
> (netbios name = server) could tell me how to obtain these values.
>
> I returned it and augtool
>
> augtool> match / files / etc / samba / smb.conf / target [1] /
> netbioserror: Invalid path expression
> Error: garbage at end of path expression
> error: / files / etc / samba / smb.conf / target [1] / netbios | = |
> name / *
> name
>
In this case, autocomplete is misleading, spaces must be escaped and the
string quoted:
augtool> match "/files/etc/samba/smb.conf/target[1]/netbios\ name"
Francis
More information about the augeas-devel
mailing list