PICK

NAME

pick - menu item selection for program execution

SYNOPSIS

pick (-I) program file
pick (-I) program itemtype file

DESCRIPTION

pick is a program to make item selections from a data file with a menu, it can simplify comparative execution of a program against different items.

pick operates in two modes, in the first, the first argument is the name of the program to be executed (in quotes if program switches are included) and the second argument is a data file. In this mode, a menu of all items in the file is presented and the user may make several selections. The entry of a null selection causes the program to be called with the selected items, and pick exits.

In the second mode, the first argument is the program name as before, but the second argument is an item number or item short code (the two character code "SP", "LX", etc), the third argument is the data file. In this mode, a menu of only items of the required type is presented, and each menu selection causes the program to be executed with an individual item selection. The entry of a null selection causes pick to exit.

Options and their meanings are:

-I Identify program and version.

Example usage:
	pick "Ds -p" acha.db
and
	pick replay 1 acha.db

VERSION/AUTHOR

1.1 - Mark Huckvale.

SEE ALSO

apply
Fri Jul 09 14:54:31 2004