[Starting a new thread as the existing ones are already rather long.] Making alias values that are not simple commands unspecified does not solve the issue of rescanning differences, because they happen even for some simple commands:
ksh88/ksh93: $ alias foo='echo 0' $ foo >&2 0 $ foo>&2 $ bash/dash: $ alias foo='echo 0' $ foo >&2 0 $ foo>&2 0 $ It seems to me that the ksh behaviour here is rather undesirable, so maybe we should consider mandating (in Issue 8) that the last token in the value and the first token in the subsequent input must remain as separate tokens. -- Geoff Clare <[email protected]> The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England
