help-bash
[Top][All Lists]
Advanced

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

idea about negative indexed array keys


From: Alex fxmbsw7 Ratchev
Subject: idea about negative indexed array keys
Date: Fri, 12 Mar 2021 22:58:16 +0100

i saw, ${arr[-1]} == syntax error

what about implenting it, -0 is the last -1 is the second last etc

such negative values are already in ${..:<>:<>} implented, as a good small
statement for the same style


reply via email to

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