Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Gavin Rebeiro Newsgroups: gnu.bash.bug Subject: Suggestion that might help clarify meaning Date: Mon, 24 Jun 2019 18:25:40 +0100 Lines: 35 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1561398165 11185 209.51.188.17 (24 Jun 2019 17:42:45 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4T90el2qiiWulNNNPondI0zZkocHTriujF0yHWrGLls=; b=sTzTNCgPayYEHdlHetffWIBtQOEvCafALjeZIHmoZrL1MO2jAaI2UGctgrk/T5Ttwt UH5GbfHsja7/FM/ws2zzsoRL4XsJ0f/FOnQMAxoTIu2mlwe3EWBQN+JH/2WUcbKwwvWs IlK3xtg/Hgg44nubBAKHgKJKB2Tfso8DtaXCUgxbDbiN8hTFY6uchLrDcPUMUj8fBeAd GKuM1c15w1ysBOvTEuovn1JBL8oe8o0LGwjvXxXKjnK5X8R0gRjrecpoNo8dJPtGX+Qd B3Uwd/x3EDDLCV8kml+cBcvEyZALmYRfIC7lkZono19CaeAsYJog8FzjTrJ5eI2BPE5/ h/rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4T90el2qiiWulNNNPondI0zZkocHTriujF0yHWrGLls=; b=UOTM/TKQTkZgL8/0ttdGD+YeQMGplcHVOIo7Qc1tb1lprr6JExg5LToRlJPAdasv53 GhjPQnXYHzIedyRHNtZjLjYoYvamkILM6ixgNw9EheU1JbjNS0dFj4w6jIC1Lsqplfbl YDMnLT4lCJQ2UfFW3YCQCTRQiXJ0Lrjig5AM3dn2sYFlrFOsW83obeLW2CjjsdKVMTwo A9Hj0d+XfU0UpZms8ogCR3kpEaBB41kv4QOKDY6iGUYWnjdfX9Ay42ZmtUjRa4Drw/y4 dV5Iy14oF5g92r81dZOvzfcuNeSw86pGKEQbZGyTZsjbP3/RRQ3FypHrF63aUoWPFRjM 0Lqw== X-Gm-Message-State: APjAAAVFV+bgq/ilptM18LDZdeXdD7qaM1mFRxAxzyYpteOAeXtdEdjO U4NsurPIqLVndf9pgpHkklxZP6TtFCQHKseB+QRIS0Yk2BM= X-Google-Smtp-Source: APXvYqwmbg4cVbwMntmY7kKmzi/cbCt5yoenyVT+jWhRrQIMhWDCWLK/giz61/9RDtVEgQnhc4YawGRA7YciYwZ5Dwo= X-Received: by 2002:a2e:5302:: with SMTP id h2mr28282177ljb.47.1561397151901; Mon, 24 Jun 2019 10:25:51 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::235 X-Mailman-Approved-At: Mon, 24 Jun 2019 13:42:42 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:15071 Hi, I've been searching the BASH manual ( https://www.gnu.org/software/bash/manual/bash.html) to find out about the precedence/sequence that the shell parses commands. The particular question I've had which I was helped with: https://unix.stackexchange.com/questions/526646/precedence-of-subshells-in-relation-to-redirection . May I request a slight edit in the sentence from section 3.7.1 Simple Command Expansion: "When a simple command is executed, the shell performs the following expansions, assignments, and redirections, from left to right. " to something like: "When a simple command is executed, the shell performs the following expansions, assignments, and redirections, from left to right, in the following sequence." or "When a simple command is executed, the shell performs the following expansions, assignments, and redirections, from left to right, with the following precedence. " As this makes it a bit more explicit that the following list gives a sequence/precedence that tells us the order in which commands are parsed. The intended meaning wasn't fully clear to me upon first reading and I believe that this would make the documentation more readable and might prevent cases of similar confusion. Best wishes, Gavin Rebeiro