Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: path PATH



On Sun, Jan 22, 2023, at 5:44 PM, Ray Andrews wrote:
> You and Roman have both pointed out that 
> typeset -p is more a way of recreating variables than it is of 
> displaying them with type and value.  And if it is already adequate, why 
> would DP even need to be written?

It was not written to "fix" typeset -p; it was written to satisfy
your idiosyncratic preferences.


> Dunno, but if it was up to me it would be built in as: typeset -D
>
> man page:
>
> ... To display the type and the value of any parameter: typeset -D PARAM 
> (wildcards accepted).

This should absolutely not be done.


-- 
vq




Messages sorted by: Reverse Date, Date, Thread, Author