Hide Forgot
Description of problem: The command which only returns one line when creating a multi-line alias in bash. See example below Version-Release number of selected component (if applicable): ~ > which --version GNU which v2.16, Copyright (C) 1999 - 2003 Carlo Wood. How reproducible: see below Steps to Reproduce: ~ > cat test alias test='cd /tmp pwd cd pwd ' ~ > source ./test ~ > which test alias test='cd /tmp ~ > Actual results: ~ > which test alias test='cd /tmp Expected results: ~ > which test alias test='cd /tmp pwd cd pwd ' Additional info: the command "alias test" gives the expected result.
This request was evaluated by Red Hat Engineering for inclusion in a Red Hat Enterprise Linux maintenance release. Red Hat does not currently plan to provide this change in a Red Hat Enterprise Linux update release for currently deployed products. With the goal of minimizing risk of change for deployed systems, and in response to customer and partner requirements, Red Hat takes a conservative approach when evaluating enhancements for inclusion in maintenance updates for currently deployed products. The primary objectives of update releases are to enable new hardware platform support and to resolve critical defects. However, Red Hat will further review this request for potential inclusion in future major releases of Red Hat Enterprise Linux.