9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Mark van Atten <vanattenmark@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] acme/sam language question
Date: Thu, 21 Nov 2013 15:52:52 +0100	[thread overview]
Message-ID: <CALAsyW0FJPSLNepT+DL64cmDoYMmFR42Z5A1K223Cj9wnynbug@mail.gmail.com> (raw)
In-Reply-To: <CAOEdRO3VF=UhS6=bxe7JkpXyT08HME_jjb=3yUvsQEcLv8x90g@mail.gmail.com>

> I finally get around to trying this out and (so far) it seems to work.
> Thank you!

You're welcome!

Opening the group at the end of the first line has the effect of
replacing the empty command and its implied p; see sam's man page
under `Miscellany'. This also explains why your lines, without the
grouping, had the desired effect when you executed them one by one
yourself, but not when executed from a script.

Mark.



      reply	other threads:[~2013-11-21 14:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29 15:31 Rudolf Sykora
2013-10-29 16:56 ` Friedrich Psiorz
2013-10-30  7:47   ` Rudolf Sykora
2013-10-31 15:21     ` Rudolf Sykora
2013-10-31 15:49       ` Friedrich Psiorz
2013-10-31 19:24         ` Rudolf Sykora
2013-11-06 18:47           ` Rudolf Sykora
2013-11-06 20:26             ` Micah Stetson
2013-11-06 20:42             ` Mark van Atten
2013-11-21 13:28               ` Rudolf Sykora
2013-11-21 14:52                 ` Mark van Atten [this message]

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=CALAsyW0FJPSLNepT+DL64cmDoYMmFR42Z5A1K223Cj9wnynbug@mail.gmail.com \
    --to=vanattenmark@gmail.com \
    --cc=9fans@9fans.net \
    /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.
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).