> I have learned a lot from your reply, and yes some of what you wrote
> explains this as not being a bug; after a reboot I cannot reproduce
> these results.
You should not need to reboot to clear a single shell process hash
cache. Simply starting a fresh shell, such as opening a new window,
woul
Richard Neill wrote:
1)substr support for a negative length argument.
For example,
stringZ=abcdef
echo ${stringZ:2:-1} #prints cde
i.e. ${string:x:y}
returns the string, from start position x for y characters.
but, if x is negative, start from the right hand side
and if y is negative,