chickadee » augeas » aug-get

aug-get a pathprocedure

Get the string value of the node at PATH. If the node exists but has no value, it returns #f. If the node does not exist, it also returns #f.

Raises an error if there is more than one node matching PATH, or if PATH is not a legal path expression.

(aug-get a "/files/etc/hosts/1/ipaddr")
 ;=> ""
(aug-get a "/files/etc/hosts/1/foo")
 ;=> #f