^TI^'
^TITW^history 
^TITW^words 
^TIS^selector 
^TIS^eventSpec 
^TI^' Command
^P^
^S^selector
 is an argument which specifies words within a command, and has 
one of three forms. If it is a single number then it selects the 
word given by that number (0 for the command name, 1 for its first 
argument, and so on, with the character "$" having the special meaning 
of specifying the last word in a command). 
If it consists of two numbers separated by 
a dash, then it selects all the words between (and including) those two. 
Otherwise selector is treated as a pattern, in the sense of those used 
by 
^B^string match
, and all words matching that pattern are returned. 
^P^
Executing 
^B^history words
 returns a list of all words selected by 
^S^selector
, from the event specified by the optional 
^S^eventSpec
 (which defaults to -1 if not explicity given).
^P^
This command results in history revision: see the Tcl man page for details.