code: def _recurmatch(path, aug):
      '''
      Recursive generator providing the infrastructure for
      augtools print behavior.
  
      This function is based on test_augeas.py from
      Harald Hoyer <harald@redhat.com>  in the python-augeas
      repository
      '''
      if path:
          clean_path = path.rstrip('/*')
          yield (clean_path, aug.get(path))
  
          for i in aug.match(clean_path + '/*'):
              i = i.replace('!', '\\!')  # escape some dirs
              for _match in _recurmatch(i, aug):
                  yield _matcf _recurmatch(path, aug):
      '''
      Recursive generator providing the infrastructure for
      augtools print behavior.
  
      This function is based on test_augeas.py from
      Harald Hoyer <harald@redhat.com>  in the python-augeas
      repository
      '''
      if path:
          clean_path = path.rstrip('/*')
          yield (clean_path, aug.get(path))
  
          for i in aug.match(clean_path + '/*'):
              i = i.replace('!', '\\!')  # escape some dirs
              for _match in _recurmatch(i, aug):
                  yield _match
docs: Recursive generator providing the infrastructure for
      augtools print behavior.
  
      This function is based on test_augeas.py from
      Harald Hoyer <harald@redhat.com>  in the python-augeas
      repository