New answers tagged alias
Aliases aren't interpreted within shell scripts. From bash(1): Aliases are not expanded when the shell is not interactive, unless the expand_aliases shell option is set using shopt) So the script still calls the standard readlink which doesn't know about --help. Instead of setting expand_aliases (which you have to remember to do so on each system and ...
Top 50 recent answers are included