On Fri, Mar 11, 2011 at 11:33 AM, Chet Ramey <chet.ra...@case.edu> wrote:
> On 3/10/11 9:04 PM, Clark J. Wang wrote: > > > > Agree. Almost all of the poeple around me don't understand why it works > that > > way. Maybe some background of the feature requirement can help us to > > understand better. > > The original requests were for a way to change the first letter or > every letter to uppercase or lowercase, like ksh typeset -l/-u, using > word expansion syntax (one request was for a new builtin command to > do it). That's what you get if you don't use the pattern part of the > expansion. I invented the pattern following the case specifier to allow > each character to be separately modified. > > One specific user's requirement is specific. I think the feature can be implemented in a more flexible way which can also meet user's requirement. > Chet > -- > ``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/ > -- Clark J. Wang