Thread View: gnu.bash.bug
3 messages
3 total messages
Started by Andy Wai
Wed, 23 Aug 1989 15:45
[idallen@watcgl: bash aliases not transitive?!]
Author: Andy Wai
Date: Wed, 23 Aug 1989 15:45
Date: Wed, 23 Aug 1989 15:45
15 lines
741 bytes
741 bytes
| Date: Tue, 22 Aug 89 20:35:20 EDT | From: "Ian! D. Allen [CGL]" <idallen@watcgl> | To: accwai@watmath | Subject: bash aliases not transitive?! | | bash$ alias a=b | bash$ alias b=date | bash$ a | b: commmand not found The version in question is 1.02. Andy Wai Math. Faculty Computing Facility U. of Waterloo
[idallen@watcgl: bash aliases not transitive?!]
Author: Brian Fox
Date: Wed, 23 Aug 1989 16:50
Date: Wed, 23 Aug 1989 16:50
24 lines
1117 bytes
1117 bytes
Date: Wed, 23 Aug 89 11:45:28 EDT From: Andy Wai <accwai@watmath.waterloo.edu> > Date: Tue, 22 Aug 89 20:35:20 EDT > From: "Ian! D. Allen [CGL]" <idallen@watcgl> > To: accwai@watmath > Subject: bash aliases not transitive?! > > bash$ alias a=b > bash$ alias b=date > bash$ a > b: commmand not found The version in question is 1.02. Andy Wai Math. Faculty Computing Facility U. of Waterloo 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. Brian
Re: [idallen@watcgl: bash aliases not transitive?!]
Author: Maarten Litmaath
Date: Wed, 23 Aug 1989 19:50
Date: Wed, 23 Aug 1989 19:50
16 lines
1148 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads