Re: Clarify cases of implicit and explicit line continuation

2018-06-05 Thread Chet Ramey
On 6/4/18 10:20 PM, Shriramana Sharma wrote: > On Fri, Jun 1, 2018 at 6:18 PM, Chet Ramey wrote: >> The general rule is simple: bash reads input a line at a time, feeding >> each line to the parser, until it has enough input for a complete >> command. If it doesn't have enough to complete a comman

Re: Clarify cases of implicit and explicit line continuation

2018-06-04 Thread Shriramana Sharma
On Fri, Jun 1, 2018 at 6:18 PM, Chet Ramey wrote: > The general rule is simple: bash reads input a line at a time, feeding > each line to the parser, until it has enough input for a complete > command. If it doesn't have enough to complete a command, it will read > additional lines. If a newline w

Re: Clarify cases of implicit and explicit line continuation

2018-06-01 Thread Chet Ramey
On 6/1/18 1:28 AM, Shriramana Sharma wrote: > Hello. See > https://unix.stackexchange.com/questions/253518/where-are-bash-line-continuations-after-and-documented. > > Roughly put, wherever lines terminating with a particular token are > syntactically valid, they are taken as complete, and an expl

Clarify cases of implicit and explicit line continuation

2018-06-01 Thread Shriramana Sharma
Hello. See https://unix.stackexchange.com/questions/253518/where-are-bash-line-continuations-after-and-documented. Roughly put, wherever lines terminating with a particular token are syntactically valid, they are taken as complete, and an explicit \ is required to continue the line, but lines end