🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #492

Re: [idallen@watcgl: bash aliases not transitive?!]

#492
From: Maarten Litmaath
Date: Wed, 23 Aug 1989 19:50
16 lines
1148 bytes
bfox@AUREL.CALTECH.EDU (Brian Fox) writes:
\   From: Andy Wai <accwai@watmath.waterloo.edu>
\   > From: "Ian! D. Allen [CGL]" <idallen@watcgl>
\...
\   >     bash$ alias a=b
\   >     bash$ alias b=date
\   >     bash$ a
\   >     b: commmand not found
\...
\Aliases are only expanded when they are in the position of a command
\word, or if they follow an alias whose expansion ends in a space.

Could you explain why, Brian?  Isn't non-transitivity of aliases very annoying?
-- 
"rot H - dD/dt = J, div D = rho, div B = 0, |Maarten Litmaath @ VU Amsterdam:
  rot E + dB/dt = 0" and there was light.   |maart@cs.vu.nl, mcvax!botter!maart
Technical Details
Message-ID: <3046@solo1.cs.vu.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!mcsun!mcvax!hp4nl!botter!star.cs.vu.nl!maart
References: <8908231545.AA19132@watmath.waterloo.edu> <8908231650.AA01210@aurel.caltech.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!mcsun!mcvax!hp4nl!botter!star.cs.vu.nl!maart
From: maart@cs.vu.nl (Maarten Litmaath)
Newsgroups: gnu.bash.bug
Subject: Re: [idallen@watcgl: bash aliases not transitive?!]
Message-ID: <3046@solo1.cs.vu.nl>
Date: 23 Aug 89 19:50:20 GMT
References: <8908231545.AA19132@watmath.waterloo.edu> <8908231650.AA01210@aurel.caltech.edu>
Organization: V.U. Informatica, Amsterdam, the Netherlands
Lines: 16