On 9/11/11 6:37 PM, rogerx....@gmail.com wrote: > > SHELL BUILTIN COMMANDS : compgen > > First paragraph > > Run-on sentence/Repetitive statement (aka Too wordy) > > Original Text: When using the -F or -C options, the various shell variables > set by the > programmable completion facilities, while available, will not have useful > values." > > Solution: strike "while available," > > If they're "not available", why worry?
Because the shell makes a distinction between set and unset variables. The programmable completion code takes care to make sure that the variables it sets are only set when programmable completion is executing shell functions or commands. These variables will be set while compgen is running, but, since they depend on the readline state, may not contain useful or current values. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/