A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1123 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 1123 Category: Shell and Utilities Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: 2.6 Page Number: 2353 Line Number: 75006-75007 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-03-04 07:56 UTC Last Modified: 2018-08-05 21:46 UTC ====================================================================== Summary: Problematic specification of execution environment for word expansions ======================================================================
---------------------------------------------------------------------- (0004071) kre (reporter) - 2018-08-05 21:46 http://austingroupbugs.net/view.php?id=1123#c4071 ---------------------------------------------------------------------- Replace lines 75006 - 75010 (section 2.6, page 2353) with the following When the expansions in this section are performed other than in the context of preparing a command for execution they shall be carried out in the current shell execution environment. When expanding words for command about to be executed, and the word will be the command name, or an argument to the command, the expansions shall be carried out in the current shell execution environment (the environment for the command to be executed is unknown until the command word is known). When processing the words in a command about to be executed, which are used with variable assignments or redirects for that command, it is unspecified whether the expansions are carried out in the current execution environment or in the environment of the command about to be executed. If the complete expansion appropriate for a word results in an empty field, that empty field shall be deleted from the list of fields that form the completely expanded command, unless the original word contained single-quote or double-quote characters which were processed as part of expanding the word. Issue History Date Modified Username Field Change ====================================================================== 2017-03-04 07:56 kre New Issue 2017-03-04 07:56 kre Name => Robert Elz 2017-03-04 07:56 kre Section => 2.6 2017-03-04 07:56 kre Page Number => 2353 2017-03-04 07:56 kre Line Number => 75006-75007 2018-08-05 21:45 kre Note Added: 0004070 2018-08-05 21:46 kre Note Added: 0004071 ======================================================================
