Re: Aliases fail in command substitution in noninteractive mode.
From:
Paul Jarc
Subject:
Re: Aliases fail in command substitution in noninteractive mode.
Date:
Sun, 04 Jun 2006 23:45:56 -0400
User-agent:
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)
fsateler@sateler.sytes.net wrote:
> Aliases don't work correctly in command substitution when in
> noninteractive mode. They do work when in interactive mode.
man bash, under "ALIASES":
Aliases are not expanded when the shell is not interactive, unless the
expand_aliases shell option is set using shopt (see the description of
shopt under SHELL BUILTIN COMMANDS below).
paul