Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: declare -p and -H (hideval)
- X-seq: zsh-users 22693
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: declare -p and -H (hideval)
- Date: Fri, 12 May 2017 15:03:02 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=593diPUlqvD9dskqcMXmJaXt/tD8lO4iThj/cO4GY8Q=; b=HuWLPozAhC/w9RoOifC3M6/yEPAqvBvAMbzq/eEAQINCath3ZlEgBYNRMVkELZPm/m l2Ew0KO2iSSsupPGxpc7M2qyMVO1JwDRSnN6MwWmU9f0dvRj/aCBrNLGYBOEGis/FuAD /jUP0SWniRo9y1diS/x6j9VltsxKpkA5H5y9dOLqtP5mo678vYzban6LjTm8CkoLB8+l GBLFuVqktx4CTil/geW+wX0U/9+YgPou1/+kevc4nahnTzq59Yk5SgluFKVtfzdDLnZn bpxnXfGmlDrl555j+44u1Nw4firivVzGNotz6S5JqNK/ly7Wb88t5FOhnQ3y/gXrXapy PIwg==
- In-reply-to: <etPan.5915e115.238e1f29.6b4c@MacMini.local>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <etPan.5915e115.238e1f29.6b4c@MacMini.local>
On May 12, 6:21pm, Sebastian Gniazdowski wrote:
}
} I use "declare -p" there, when user selects a parameter. No value is
} being shown for -H parameters. Is this correct?
Yes. Manual for -p option says:
If the -p option is given, parameters and values are printed
in the form of a typeset command with an assignment,
regardless of other flags and options. Note that the -H flag
on parameters is respected; no value will be shown for these
parameters.
This takes precedence over the -m flag, etc.
} Any way to avoid -H effects with typeset -p?
It would appear not.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author