bug-bash
[Top][All Lists]
Advanced

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

bang-hash behavior change?


From: Milo H. Fields
Subject: bang-hash behavior change?
Date: Wed, 25 Feb 2015 19:40:07 -0500

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?

 

 


reply via email to

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