gpath

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2018 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL