Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15125

Re: alias problem -- conflict found

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Robert Elz <kre@munnari.OZ.AU>
Newsgroups gnu.bash.bug
Subject Re: alias problem -- conflict found
Date Thu, 11 Jul 2019 00:13:39 +0700
Lines 27
Approved bug-bash@gnu.org
Message-ID <mailman.856.1562778906.2688.bug-bash@gnu.org> (permalink)
References <5D260BD8.8010800@tlinx.org> <5D25D398.7010300@tlinx.org> <5D255A6E.4060600@tlinx.org> <5D23C417.5060108@tlinx.org> <20190709132112.GW2450@eeg.ccf.org> <10340.1562742284@jinx.noi.kre.to> <11760.1562772554@jinx.noi.kre.to> <25412.1562778819@jinx.noi.kre.to>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1562778907 15118 209.51.188.17 (10 Jul 2019 17:15:07 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To L A Walsh <bash@tlinx.org>
Envelope-to bug-bash@gnu.org
In-Reply-To <5D260BD8.8010800@tlinx.org>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2001:3c8:9009:181::2
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <25412.1562778819@jinx.noi.kre.to>
X-Mailman-Original-References <5D260BD8.8010800@tlinx.org> <5D25D398.7010300@tlinx.org> <5D255A6E.4060600@tlinx.org> <5D23C417.5060108@tlinx.org> <20190709132112.GW2450@eeg.ccf.org> <10340.1562742284@jinx.noi.kre.to> <11760.1562772554@jinx.noi.kre.to>
Xref csiph.com gnu.bash.bug:15125

Show key headers only | View raw


    Date:        Wed, 10 Jul 2019 09:01:28 -0700
    From:        L A Walsh <bash@tlinx.org>
    Message-ID:  <5D260BD8.8010800@tlinx.org>

  | What do you think aliases are?

I know exactly what aliases are.   (I could just say "useless" but
that's a different kind of what they are than you mean.)

  | They are both a simple hash substitution

substition yes, hash, maybe...  I have no idea how Chet has chosen to
implement them, perhaps a hash table, perhaps a b-tree, perhaps a
simple linear list (sorted, or simply first (or last) first, or perhaps
maintained in use order fashion) - none of that matters to anything
as far as most of us are concerned.

  | Aliases are store/implemented using hashes the same as stored paths
  | are.  They are effectively the same.

They might be implemented using similar techniques, but who cares?   But
they aren't built, used, or removed, in anything like the same way, which
is what matters to users of them.

kre

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: alias problem -- conflict found Robert Elz <kre@munnari.OZ.AU> - 2019-07-11 00:13 +0700

csiph-web