Path: 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 bfox@AUREL.CALTECH.EDU (Brian Fox) writes: \ From: Andy Wai \ > From: "Ian! D. Allen [CGL]" \... \ > 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