The FTimes Project The HashDig Project The WebJob Project The PaD Project
Location: / Home / WebJob / Man Pages / webjob-cfg-update-list
Man Pages
WebJob
Home
                                                                                                                                                                                                       


NAME

webjob-cfg-update-list - Update an existing KVP list.


SYNOPSIS

webjob-cfg-update-list [-a] [-d delimiter] [-m {merge|replace|remove}] [-t type] -f {file|-} -k key [value [value ...]]


DESCRIPTION

This utility updates, creates, or replaces a KVP (Key/Value Pair) list. Duplicate values (if any) are automatically squashed.


OPTIONS

-a

Instructs the script to automatically create keys if they don't exist. This option is disabled by default.

-d delimiter

Specifies the list delimiter. Valid delimiters include the following characters: space ' ', comma ',', colon ':', semi-colon ';', and pipe '|'. The default delimiter is a comma. Note that parse errors are likely to occur if the specified delimiter appears in any of the values.

-f {file|-}

Specifies the config file to operate on.

-k key

Specifies the name of the key to update.

-m {merge|replace|remove}

Specifies the mode of operation. Merge mode will cause values to be merged into the specified list (if it exists). Replace mode will cause the specified list to be completely replaced by the new values. Remove mode will cause existing values to be deleted from the specified list. The default mode is Merge.

-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: ClientAcl and Generic. The default type is Generic.


AUTHOR

Klayton Monroe


SEE ALSO

webjob-cfg-create-list(1), webjob-cfg-delete-list(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.