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

Re: "typeset -p" inconsistency



On Wed, Nov 2, 2022 at 5:56 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> On 2022-11-01 20:11, Lawrence Velázquez wrote:
> > As Bart already explained, it is not "one and the same variable"
> > -- PATH and path are *two separate variables*.  So there is no
> > "duplication".
> This country boy sees them as duplication.  'set' does not print them
> twice.

Of course it does.

% set | grep -wi path
PATH=/opt/local/bin:/opt/local/sbin:/Users/schaefer/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11/bin:/Library/PostgreSQL/8.3/bin:/Developer/usr/bin
path=( /opt/local/bin /opt/local/sbin /Users/schaefer/bin
/usr/local/bin /usr/bin /bin /sbin /usr/sbin /usr/X11/bin
/Library/PostgreSQL/8.3/bin /Developer/usr/bin )




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