I am trying to implement a new lens based on another one. All I have done so far is to copy the lens in /usr/share/augeas/lenses/dist
, changed its filename and the "module" name in the file itself to "xxx".
When I run augtool
I get this error:
Failed to initialize Augeas
error: Syntax error in lens definition
/usr/share/augeas/lenses/dist/xxx.aug:5.7-.10:syntax error, unexpected LIDENT, expecting UIDENT
/usr/share/augeas/lenses/dist/xxx.aug:syntax error
Debian Jessie, augtool 1.2.0