ogdl: github.com/rveen/ogdl/gpath Files

Command gpath

gpath <path> [file]

Return the specified path from an OGDL file, or from stdin. If the path is a dot, then the complete input graph is returned. The specifications for the OGDL language and the OGDL path language are available at http://ogdl.org.

For example, if we have a configuration file conf.g like this:

eth0
   ip 128.0.0.10
   gw 128.0.0.1

then the command

# gpath eth0.ip conf.g

will print

128.0.0.1

Package Files

doc.go gpath.go

Package main imports 2 packages (graph). Updated 2016-12-28. Refresh now. Tools for package owners.