bug-bash
[Top][All Lists]
Advanced

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

declare -p doesn't show the global attribute


From: isabella parakiss
Subject: declare -p doesn't show the global attribute
Date: Sun, 26 Apr 2015 23:26:13 +0200

$ fn () { declare -g var=x; declare -p var; } ; fn
declare -- var="x"

I think the correct output should be declare -g var="x"
Is this intended or is it a bug?


---
xoxo iza



reply via email to

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