[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alias problem -- conflict found
From: |
Chet Ramey |
Subject: |
Re: alias problem -- conflict found |
Date: |
Wed, 10 Jul 2019 14:04:01 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 7/10/19 12:01 PM, L A Walsh wrote:
> What do you think aliases are? They are both a simple hash substitution.
They might appear superficially similar, and they use similar internal
abstractions.
> declare -A BASH_CMDS=([ls]="/usr/bin/ls" )
> declare -A BASH_ALIASES=([ls]="/bin/ls" )
And I made them both available using array syntax, using a different
internal mechanism, but:
> Aliases are store/implemented using hashes the same as stored paths
> are. They are effectively the same.
Which is not at all what you said initially.
This isn't ksh, using `tracked aliases' to expose hashed pathnames.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: alias problem -- conflict found, (continued)
Re: alias problem -- conflict found, Robert Elz, 2019/07/10
Re: alias problem -- conflict found, Robert Elz, 2019/07/10
Re: alias problem -- conflict found, Greg Wooledge, 2019/07/10
Re: alias problem -- conflict found, L A Walsh, 2019/07/10
Re: alias problem -- conflict found,
Chet Ramey <=
Re: alias problem -- conflict found, L A Walsh, 2019/07/10
Re: alias problem -- conflict found, Eli Schwartz, 2019/07/10
Re: alias problem -- conflict found, Robert Elz, 2019/07/11
Re: alias problem -- conflict found, Chet Ramey, 2019/07/11
Re: alias problem -- conflict found, L A Walsh, 2019/07/12
Re: alias problem -- conflict found, Eli Schwartz, 2019/07/12
Re: alias problem -- conflict found, L A Walsh, 2019/07/12
Re: alias problem -- conflict found, Dennis Williamson, 2019/07/12
Re: alias problem -- conflict found, Robert Elz, 2019/07/12
Re: alias problem -- conflict found, Eduardo Bustamante, 2019/07/12