February 2001
Beginner to intermediate
448 pages
9h 2m
English
Official Description
Produces a menu of words preceded by numbers.
Syntax
select identifier [in word...] ;do list ;done
Options
None
Oddities
Writes the menu to stderr.
Example
$ select item in b* # Set up menu containing filenames > do > print $item # Print selected filenames > done 1) buzz 2) buzz1 3) buzz10 4) buzz2 5) buzz3 6) buzz4 #? 2 # Choose item # 2 buzz1 #? 6 # Choose item # 6 buzz4 #? 8 # Ignores non-existent items #? # Ctrl+D exits $ print $PS3 #? # Prompts with PS3 variable contents (default #?) $
Read now
Unlock full access