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 _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
