bug-bash
[Top][All Lists]
Advanced

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

declare can set variable attributes to functions


From: isabella parakiss
Subject: declare can set variable attributes to functions
Date: Fri, 30 Dec 2016 17:35:24 +0100

$ f () { echo hello; }; declare -fail f; declare -pf f
f ()
{
    echo hello
}
declare -afil f=()


i don't think this causes any real problem but obviously it looks wrong

happens in 4.3 and 4.4 and the latest devel snapshot

---
xoxo iza



reply via email to

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