Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14220

Re: Clarify cases of implicit and explicit line continuation

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Shriramana Sharma <samjnaa@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Clarify cases of implicit and explicit line continuation
Date Tue, 5 Jun 2018 07:50:46 +0530
Lines 18
Approved bug-bash@gnu.org
Message-ID <mailman.1159.1528165272.1292.bug-bash@gnu.org> (permalink)
References <CAH-HCWWkjs-tzA19zbFto00ptfvV4tGB+Ks3SzyxPhYpnOgWhA@mail.gmail.com> <344532d7-08d1-6ea5-2243-a6718ec42a2b@case.edu>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1528165272 8761 208.118.235.17 (5 Jun 2018 02:21:12 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To chet.ramey@case.edu
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uel3XZ+SIzhs6vAVClkU/0UM9tnyiijC9KCWrHaolCY=; b=tEzC9aQo4tvS89UOuHUpwusE5j/ApGq2tZ8yTZjr9SWIl4RkALDGaUnBI6GsmfHPIy hGM5EZA2TGHq7lrW7a/mzUbTi6dlUjBWpGdnficqStzfidKlBNvxU2mzZ5kt2m1cTHJk IvYWYYzFLuULfg5mg891vV+AdqhZEsYQxqPLemLmkABKIxyzOric+5WIIxO3Hme3rPUo Es6ihrGpNkfSmwpB3A6Di/SO8Fn578Dv26MdRA6XJuXMuZJwJEJBcqn+aIWjmOdfEOgQ ipyq62w/GWH2kyUUT7UxTPu5ArlOBnPjIgpg2vX9DWKcAqHlMHEDlFJ1wsXyNZu8tw2K xH4A==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uel3XZ+SIzhs6vAVClkU/0UM9tnyiijC9KCWrHaolCY=; b=g6Dqqs2e1Al8rteE5peulj43ZYjBq38W4aoEB/DbHKv1zRtrAgQFyFg5Y44HC6Z+56 SVBz+PGjpVq0URYUp08lHI8RLu1+62tLhpO2bnNw1z+oA1ZyUiWEdTbjiqpd/9XpuRzu HfIVjg4vqUD5c67BCKy4nOrp1kVhdxIwpCeB5NlX8I82cOyNZhEYqBSyoGpqGIUuKJUG 2+RjlkMG1AbHBUPtQPaZbZEqfjd56PqFdDEY/iTC1i5aGc6GcUwcfwU0U4/DznP6koQl 2SAMn7vhkyNPxxi21RE01yhhdnAciih9wY+NPlLymhZMwunSVRM+3murLPO4Eu4cT6Zv 1QNg==
X-Gm-Message-State ALKqPwewogsEGGV5Qe5+2HXixIi+IPIih1uTxVDseXvDD68VQaPtlZzU hblHHugwIx2sTKWJrP3Td3GVeUvJ9mhK7HYlc1s=
X-Google-Smtp-Source ADUXVKKKN6H+8Yjz2Wm1c9yYwa+9AVRoZw2fYLBElx899a905ExH2/B2Luhqao2hZ327I/stKr2vTD5rgaGwGiVrwT4=
X-Received by 2002:a25:9d8c:: with SMTP id v12-v6mr13093488ybp.477.1528165267298; Mon, 04 Jun 2018 19:21:07 -0700 (PDT)
In-Reply-To <344532d7-08d1-6ea5-2243-a6718ec42a2b@case.edu>
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:4002:c09::22d
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14220

Show key headers only | View raw


On Fri, Jun 1, 2018 at 6:18 PM, Chet Ramey <chet.ramey@case.edu> 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 would complete a command, you need to
> quote it to prevent it being interpreted as such.

Yes that is all understood. All I'm requesting for is for this
behaviour to be *documented* in the manpage.

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा 𑀰𑁆𑀭𑀻𑀭𑀫𑀡𑀰𑀭𑁆𑀫𑀸

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Clarify cases of implicit and explicit line continuation Shriramana Sharma <samjnaa@gmail.com> - 2018-06-05 07:50 +0530

csiph-web