bug-bash
[Top][All Lists]
Advanced

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

'help typeset' doesn't show -n option


From: Valentin Bajrami
Subject: 'help typeset' doesn't show -n option
Date: Mon, 27 Apr 2015 16:32:00 +0200

Hi,

While looking at indirect reference of variables, typeset seems to support the -n option.  For example

var="value"
typeset -n ref=var
echo "${!ref}"="$ref"

However when running  ''help typeset''  I don't see the -n option.

[0][val@laptop:~]$ help typeset
typeset: typeset [-aAfFgilrtux] [-p] name[=value] ...
    Set variable values and attributes.
   
    Obsolete.  See `help declare'.

I'm sure I could use ''declare'' because of the above mentioned reason, but shouldn't typeset mention it's -n option?


Valentin

reply via email to

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