|
| 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
| [Prev in Thread] | Current Thread | [Next in Thread] |