From bash-bug Tue May 21 14:42:30 2002 From: Bernhard Rosenkraenzer Date: Tue, 21 May 2002 14:42:30 +0000 To: bash-bug Subject: Negative offset with variable expansion doesn't work Message-Id: X-MARC-Message: https://marc.info/?l=bash-bug&m=164300437540443 Reproduced with both 2.04 and 2.05: var=12345 echo ${var:-2:2} results in 12345 rather than 45 LLaP bero -- This message is provided to you under the terms outlined at http://www.bero.org/terms.html