9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: umbraticus@prosimetrum.com
To: 9fans@9fans.net
Subject: Re: [9fans] sam and 'here documents' on Unix [WAS: Re: Making multiple changes to dot using sam -d]
Date: Fri, 13 May 2022 07:24:29 +1200	[thread overview]
Message-ID: <B05FCDCA6FCC5AB11CC75282475273C0@prosimetrum.com> (raw)
In-Reply-To: <CAHUAchw8bMi9az4=YvnV+=8Gq0VCkcSoqjvY57M1z-U59EbYZg@mail.gmail.com>

hmm, interesting. ^ is indeed very useful;
making it work in sam -d is probably the
correct thing to do but here's a quick hack.
(9front specific, tho you can probably figure
out another way to pretend you typed.)

umbraticus

; fn f{echo ,x/red/c/blue >/dev/kbdin}
; sam -d
 -. 
a
I hired a red
redemptionist
.
!f
,x/red/c/blue
,
I hiblue a blue
blueemptionist

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tcf06324837558cea-M37afd51dab499eefb093aa10
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  reply	other threads:[~2022-05-12 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 17:47 Mart Zirnask
2022-05-12 19:24 ` umbraticus [this message]
2022-05-17  5:54   ` Mart Zirnask

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=B05FCDCA6FCC5AB11CC75282475273C0@prosimetrum.com \
    --to=umbraticus@prosimetrum.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).