bug-bash
[Top][All Lists]
Advanced

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

declare -p name=value thinks 'name=value' is variable


From: William Park
Subject: declare -p name=value thinks 'name=value' is variable
Date: Fri, 8 Jan 2021 04:05:48 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

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 <opengeometry@yahoo.ca>


reply via email to

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