On Fri, Jan 8, 2021 at 4:06 PM Chet Ramey wrote:
> No. `declare -p' does not accept assignment statements.
>
The synopsis in the documentation doesn't make it clear, though. It shows
only one case with -p and assignment, while the similar case of export -p
is listed separately from the other for
On 1/8/21 4:05 AM, William Park wrote:
Another issue I came across.
declare -p name=value
thinks 'name=value' is the variable. My reading of manpage seems to say
'name' should be used, but not sure. Is this a bug?
No. `declare -p' does not accept assignment statements.
--
``The lyf so
On 1/8/21 4:05 AM, William Park wrote:
Another issue I came across.
declare -p name=value
thinks 'name=value' is the variable. My reading of manpage seems to say
'name' should be used, but not sure. Is this a bug?
Workaround is, of course, use separate lines,
declare name=value
Another issue I came across.
declare -p name=value
thinks 'name=value' is the variable. My reading of manpage seems to say
'name' should be used, but not sure. Is this a bug?
Workaround is, of course, use separate lines,
declare name=value
declare -p name
--
William Park