Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Share this Page URL
Help

Options > Options - Pg. 485

set Description Used inside a function definition. Exit the function with status n or with the exit status of the previously executed command. select select name [ in wordlist ; ] do commands done Description Choose a value for name by displaying the words in wordlist to the user and prompting for a choice. Store user input in the variable REPLY and the chosen word in name. Then execute commands repeatedly until they execute a break or return. Default prompt can be changed by setting the PS3 shell variable. set set [options] [arg1 arg2 ...]