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

Re: Bug#192831: general: bash expansion failure



On Sat, May 10, 2003 at 10:52:21PM +0200, Pavel Sanda wrote:
> Package: general

is there a reason you do not report this gainst bash?

> 22:49:40 BDI:~$ echo ${a:-1:1}
> 12345

$ echo ${a:(-1):1}
5

it is talking about arithmetic expressions, and works that way.

Gruss
Bernd
-- 
  (OO)      -- Bernd_Eckenfels@Wendelinusstrasse39.76646Bruchsal.de --
 ( .. )  ecki@{inka.de,linux.de,debian.org} http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +497257930613  BE5-RIPE
(O____O)  When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!



Reply to: