[augeas-devel] ANNOUNCE: tcl-augeas

Danyil Bohdan danyil.bohdan at gmail.com
Fri Mar 13 16:44:54 UTC 2015


I am pleased to announce the release of tcl-augeas, a Tcl extension that
provides bindings for Augeas. It is available from
https://github.com/dbohdan/tcl-augeas. The API largely mirrors the C
public API.

tcl-augeas has been tested to build and run with Augeas 0.10 through 1.3 and
Tcl 8.5 or 8.6 on the following operating systems:

* Fedora 21
* CentOS 6.5
* CentOS 7.0
* openSUSE 13.1
* Ubuntu 12.04
* Ubuntu 14.04
* FreeBSD 10.1
* OpenBSD 5.6

While not yet battle-proven, the bindings pass a suite of essential tests,
which also serve as examples of how to use them.

Tcl code that uses tcl-augeas looks something like this:

set id [augeas::init ./test-root]
foreach x [augeas::match $id {/files/etc/hosts/*/canonical}] {
     puts [augeas::get $id $x]
}
augeas::close $id

I will be glad to hear your feedback.

Danyil




More information about the augeas-devel mailing list