On Fri, 25 Jun 2010 05:17:17 +0800
Aiza <[email protected]> articulated:

> Jerry wrote:
> > On Thu, 24 Jun 2010 09:14:39 -0700
> > Chip Camden <[email protected]> articulated:
> > 
> > [snip]
> > 
> >> That [[:digit:]] pattern only works if your shell supports POSIX
> >> character classes in the case statement.
> > 
> > I use Bash myself. I am not sure what other shells support this
> > context. In any case, I simply supplied a possible solution. I
> > leave it up to the OP to determine if it is suitable for his/her
> > environment.
> > 
> The subject clearly tells you what shell the o/p is using.

Actually, ".sh" does not appear to be a definitive declaration of the
scripting language.  However, if you deemed that to be a definitive
declaration for the scripting language the OP was using, then fine.

In any case, as I previously posted, it was left up to the OP to decide
if the proposed solution was suitable for their needs. After reading
all of the babble concerning what should be a relatively easy operation,
perhaps the OP might want to consider switching to Bash.

-- 
Jerry ✌
[email protected]

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________

Q: What's the difference between an Irish wedding and an Irish wake?
A: One more drunk.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to