zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: curiosity with here document.
Date: Thu, 26 Nov 2015 15:19:58 -0800	[thread overview]
Message-ID: <5657939E.7070106@eastlink.ca> (raw)
In-Reply-To: <1330101448564591@web8j.yandex.ru>

On 11/26/2015 11:03 AM, ZyX wrote:
> 26.11.2015, 21:38, "Ray Andrews" <rayandrews@eastlink.ca>:
>> And when writing such questions do read documentation. The specification for `if` looks like
>>
>>      if list then list
Until you know what 'list' entails, " if list then list " doesn't answer 
every question.  I've never seen anything like this previously so I 
wanted some knowledgeable comment, begging your pardon and thanks, I now 
know that a here-doc is true as far as any following 'then' is 
concerned, and any preceding 'if' test is ignored, which seems strange 
to me, but there it is.  So using that for commenting is not always 
safe; lesson learned.


  reply	other threads:[~2015-11-26 23:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-26 18:37 Ray Andrews
2015-11-26 19:01 ` ZyX
2015-11-26 19:03 ` ZyX
2015-11-26 23:19   ` Ray Andrews [this message]
2015-11-27  1:56     ` Bart Schaefer
2015-11-27  2:29       ` Ray Andrews

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5657939E.7070106@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).