From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FROM,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16110 invoked from network); 11 May 2022 15:14:54 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 11 May 2022 15:14:54 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 0807E1A769 for ; Wed, 11 May 2022 11:14:52 -0400 (EDT) (envelope-from bounce.mM973a02ff3b9e185458fc3d18.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 0457F23A7E3E; Wed, 11 May 2022 11:14:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:date:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; bh= LaaA1I04UzAvwsRX9y16iGfMEfu28rZru8AiAitIYyM=; b=PSB8YaZ+B/k/qNBg opzBUe4kjaJWFduFeHCuQolJmIqDaHdgRYBfN/ZNTqkvLuFkhaKubetSkufnf71k a/YD3T0vipNBi/ddMi81wRS4MQdkQao48wQS9GHJA0Wf6ELI7qPrUPSLy/2xjf9t o25kid7Gfbm3Ss4H/vAzuHRyirI= From: revcomninos@gmail.com To: 9fans <9fans@9fans.net> Message-Id: <16522820820.a1c72B.411448@composer.9fans.topicbox.com> Date: Wed, 11 May 2022 11:14:42 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=16522820821.da15.411448 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 1596a0d4-d13d-11ec-815c-fb791f2d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMDZjOWRiMWUzMGY3MTM0Ni1NOTczYTAyZmYzYjllMTg1NDU4ZmMz?= =?UTF-8?B?ZDE4Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Making multiple changes to dot using sam -d List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M973a02ff3b9e185458fc3d18:1:DWQOcFiwQ4Vujc0hFC7Rniw5aqITKoZeDJq69Qebxsg --16522820821.da15.411448 Date: Wed, 11 May 2022 11:14:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 succe= ss. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T06c9db1e30f71346-M973a0= 2ff3b9e185458fc3d18 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --16522820821.da15.411448 Date: Wed, 11 May 2022 11:14:42 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am running sam -d in a Debian Linux Subsyste= m on Windows. I am editing a series of documents that require several chang= es per line(s).

I can for instance change:=

I love working in sam in teh terminal

to

I love wo= rking in sam -d in the terminal

using:

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

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




= --16522820821.da15.411448-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18249 invoked from network); 11 May 2022 15:30:29 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 11 May 2022 15:30:29 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 1C0F21AB9E for ; Wed, 11 May 2022 11:30:28 -0400 (EDT) (envelope-from bounce.mM9ed1425bee373a09dc2b0985.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 1638823A9F3E; Wed, 11 May 2022 11:30:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:in-reply-to:references:date:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= dkim-1; bh=kPow8hkOQQVnZMDOBGwSs2qbGivLDVwgT4pUHRP0wmc=; b=Fbc+C n1dIh/g7XRUy2DNtNp83g+7mheuZJ0DOHzkJbFBSUXbteT5EMl0P7qeeG7tYuAe8 jwP71oRMFqaVKr3xIudboXbf3PQhMYpBmrTKSIcgyeWqKyDR011Mukiz+K6iTcRm PjnpXKvJzaaCx8NsUhgSoEyh05r/BzDlC1iyrU= From: Silas To: 9fans <9fans@9fans.net> Message-Id: <16522830210.e0246bA8.447585@composer.9fans.topicbox.com> In-Reply-To: <16522820820.a1c72B.411448@composer.9fans.topicbox.com> References: <16522820820.a1c72B.411448@composer.9fans.topicbox.com> Date: Wed, 11 May 2022 11:30:21 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=16522830211.D10Cef34.447585 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 45876e52-d13f-11ec-adfb-fb791f2d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMDZjOWRiMWUzMGY3MTM0Ni1NOWVkMTQyNWJlZTM3M2EwOWRjMmIw?= =?UTF-8?B?OTg1Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Re: Making multiple changes to dot using sam -d List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M9ed1425bee373a09dc2b0985:1:rOqCysthb6_mjffwiMdARzMDeZUTpzXbPtx4K4TFpWg --16522830211.D10Cef34.447585 Date: Wed, 11 May 2022 11:30:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,=20 Yep, seems you can combine changes with=20 ,x { x/sam/c/sam -d/ x/teh/c/the/ } Adding an optional guard before the opening brace. Note the changes must be= correct way round otherwise you get the error "?changes not in sequence" Silas ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T06c9db1e30f71346-M9ed14= 25bee373a09dc2b0985 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --16522830211.D10Cef34.447585 Date: Wed, 11 May 2022 11:30:21 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Yep, seems you can combine cha= nges with

,x {x/sam/c/sam -d/<= br />
x/teh/c/the/
<= /span>
}

Add= ing an optional guard before the opening brace. Note the changes must be co= rrect way round otherwise you get the error "?changes not in sequence&= quot;

Silas
= --16522830211.D10Cef34.447585-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FROM,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28038 invoked from network); 11 May 2022 16:40:52 -0000 Received: from tb-ob20.topicbox.com (173.228.157.66) by inbox.vuxu.org with ESMTPUTF8; 11 May 2022 16:40:52 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 6A45C20018 for ; Wed, 11 May 2022 12:40:50 -0400 (EDT) (envelope-from bounce.mMdb19a92f81130bed1063af3c.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 191EC23B908A; Wed, 11 May 2022 12:40:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:references:in-reply-to:date:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= dkim-1; bh=oPUczrsYESO37Y5cx5O3HfBvolVB/+URWaY00fn6Yy0=; b=LRlfJ YKXzxiZpGljAZA9QdhmOGrkudfUv8FHgQZvgjjLM4qJxRMgAYTFSP3FenP4iXk/m lEU3bkpp/rCyNZa/z3BI4NIHd3X+nIZnNwRjM7P48djfeva4i7K4Xx7XUCxLaDwQ oLO75HtwEOjGqXUuefxScyhZL3V96rBc6V+H3Y= From: revcomninos@gmail.com To: 9fans <9fans@9fans.net> Message-Id: <16522872420.70edAeE.84712@composer.9fans.topicbox.com> References: <16522820820.a1c72B.411448@composer.9fans.topicbox.com> In-Reply-To: <16522820820.a1c72B.411448@composer.9fans.topicbox.com> Date: Wed, 11 May 2022 12:40:42 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=16522872421.C89FCc5.84712 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 19674874-d149-11ec-8d51-16999134e1fa Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMDZjOWRiMWUzMGY3MTM0Ni1NZGIxOWE5MmY4MTEzMGJlZDEwNjNh?= =?UTF-8?B?ZjNjPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Re: Making multiple changes to dot using sam -d List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mdb19a92f81130bed1063af3c:1:u8m5end5c1urbuSFDOfLsdRYqbOHdFwA9Kt8Z8MpZoc --16522872421.C89FCc5.84712 Date: Wed, 11 May 2022 12:40:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you! I was erring in that I failed to repeat x. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T06c9db1e30f71346-Mdb19a= 92f81130bed1063af3c Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --16522872421.C89FCc5.84712 Date: Wed, 11 May 2022 12:40:42 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you! I was erring in that I failed to re= peat x.
= --16522872421.C89FCc5.84712--