9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: revcomninos@gmail.com
To: 9fans <9fans@9fans.net>
Subject: [9fans] Making multiple changes to dot using sam -d
Date: Wed, 11 May 2022 11:14:42 -0400	[thread overview]
Message-ID: <16522820820.a1c72B.411448@composer.9fans.topicbox.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]

I am running sam -d in a Debian Linux Subsystem on Windows. I am editing a series of documents that require several changes per line(s).

I can for instance change:

I love working in sam in teh terminal

to

I love working in sam -d in the terminal

using:

.x/sam/c/sam -d/
.x/teh/c/the

Is it possible to combine multiple changes into a single expression? If so, can you provide an example for me. I have tried a few things without success.




------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T06c9db1e30f71346-M973a02ff3b9e185458fc3d18
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1473 bytes --]

             reply	other threads:[~2022-05-11 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11 15:14 revcomninos [this message]
2022-05-11 15:30 ` [9fans] " Silas
2022-05-11 16:40 ` revcomninos

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=16522820820.a1c72B.411448@composer.9fans.topicbox.com \
    --to=revcomninos@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).