|
From: | Pierre Gaston |
Subject: | Re: bang-hash behavior change? |
Date: | Thu, 26 Feb 2015 10:13:30 +0200 |
Greetings,
I noticed that the ‘bang-hash’ behavior seems to have changed somewhere between bash version 4.1.17 and 4.3.33.
e.g. for the script ‘jnk’ containing:
echo "plain: !#"
echo " parens: ${!#}"
bash 4.3.33 (and others)
$ sh jnk arg1 arg2
plain: !#
parents:
bash 4.1.17:
$ sh jnk arg1 arg2
plain: !#
parents: arg2
Is this a bug?
[Prev in Thread] | Current Thread | [Next in Thread] |