input_targets

Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 08 February 2009
Index Return to Main Contents

 

NAME

input_targets - input a list of target hosts and/or hostgroups

 

SYNOPSIS

edrc/lib/input_targets [ targets ]

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

special purpose input to query lists of hosts.

The prompt cannot be changed an is set to "Target hosts".

The input and the optional command argument is a space separated list of hosts and/or hostgroups ( @HOSTGRP ).

If hostgroups are entered, those hostgroups are resolved and the resulting list is a uniquely sorted list of target hosts. Therefore, if a host is member of one or more hostgroups and eventually entered as a separate target host, it will be listed only once in the resulting list.

If the input differs from the default, the input prompt is repeated to allow verification and modifications.

If no target list is specified in targets, a default target list is provided in the input prompt as it is resolved by the hostlist(3) command.

 

OPTIONS

targets
space separated list of target hosts and/or hostgroups ( @HOSTGRP ).

 

ENVIRONMENT

-

 

EXIT STATUS

0
always.

 

FILES

-

 

EXAMPLES

-

 

SEE ALSO

edrcintro(1), hostlist(3), input(3), resolve_targetlist(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

input_targets was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net . 

 

COPYRIGHT

Copyright © 2009 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:05 GMT, March 08, 2025