On 1/11/23 10:43 PM, anonymous4feedb...@outlook.com wrote:
Dear dir or madam,For the following script: alias a1='echo ' alias a2=a1 alias foo=bar a2 foo bash outputs ‘foo’, instead of ‘bar’.
Bash has never extended the `expand next word' semantics to multiple-level alias expansion like this, and no one has missed it. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/