Up to now I thought that a semicolon in the shell has (somehow) the same meaning as a line break. So I was surprised that for
alias <name>=<replacement text>; <name>
<name> is unknown while it is known in the next line.
bash behave the same. At least for
csh it does not matter if alias is used directly or if a script is sourced before the semccolon--the aliases are not known after
; but the are known in the next command line. Is this a bug or is this behavior intended?