The FTimes Project The HashDig Project The WebJob Project The PaD Project
Location: / Home / WebJob / Man Pages / webjob-cfg-get-kvps
Man Pages
WebJob
Home
                                                                                                                                                                                                       


NAME

webjob-cfg-get-kvps - Get config file key/value pairs.


SYNOPSIS

webjob-cfg-get-kvps [-d delimiter] [-l recursion-limit] [-o option[,option[,...]]] [-r recursion-key] [-t type] -f file [key [key ...]]


DESCRIPTION

This utility gets one or more key/value pairs from the specified config file.


OPTIONS

-d delimiter

Specifies the delimiter. Valid delimiters include the following characters: colon ':', equals sign '=', and pipe '|'. The default delimiter is an equals sign.

-f file

Specifies the name of the config file to query.

-l recursion-limit

Specifies the number of recursions allowed (i.e., how deep you are willing to go) when processing files identified by a recursion key. This value must be in the range [1-50]. The default value is 3.

-o option,[option[,...]]

Specifies the list of options to apply. Currently, the following options are supported:

BeQuiet

Don't print warning messages.

KeysOnly

Only print keys rather than key/value pairs.

UnquoteValues

Unwrap values that have been quoted. Note that improperly quoted values will not be unwrapped or unescaped. A properly quoted value is a value that has matching left and right quotes. Both single and double quotes are supported.

ValuesOnly

Only print values rather than key/value pairs.

-r recursion-key

Specifies the name of a key whose value is to be treated as a file containing additional properties. Set this value to 'Import' when processing the webjob.execute and webjob.get-url file types.

-t type

Specifies the type of config file being operated on. Each supported type has a custom template that is used to validate keys and values. Currently, the following types are supported:

generic
nph-config.custom
nph-config.global
nph-webjob.custom
nph-webjob.global
nph-webjob.env (or webjob.env)
webjob.execute
webjob.get-url
webjob.server

The default type is generic.


AUTHOR

Klayton Monroe


SEE ALSO

webjob-cfg-set-kvps(1)


LICENSE

All documentation and code are distributed under same terms and conditions as WebJob.

Copyright 2000-2014 The WebJob Project, All Rights Reserved.
The FreeBSD Project SourceForge Logo KoreLogic, Inc.