bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: case modification won't work with pattern


From: Clark J. Wang
Subject: Re: case modification won't work with pattern
Date: Fri, 11 Mar 2011 12:13:08 +0800

On Fri, Mar 11, 2011 at 11:33 AM, Chet Ramey <chet.ramey@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    chet@case.edu
> http://cnswww.cns.cwru.edu/~chet/
>

-- 
Clark J. Wang


reply via email to

[Prev in Thread] Current Thread [Next in Thread]