bug-bash
[Top][All Lists]
Advanced

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

Negative offset with variable expansion doesn't work


From: Bernhard Rosenkraenzer
Subject: Negative offset with variable expansion doesn't work
Date: Tue, 21 May 2002 16:42:30 +0200 (CEST)

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




reply via email to

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