🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.vi
Article #194

/ を含む文字列への置換

#194
From: hiruneusagi
Date: Wed, 17 Jan 2001 16:38
9 lines
1320 bytes
ひるねうさぎ、といいます。

viで文字列stringa "abc"を、/を含む文字列stringb "abc/bcd/cde"に変更した
いと思い
:s/striga/"stringb"/g
と入力したところ
Usage: [line [,line]] $ [[/;]re[/;]repl[/;] [cgr] [count] [#lp]].
の警告がでます。
stringbをどのように入力すれば、置き換え出来るでしょうか。
Technical Details
Message-ID: <3A65CA7C.143961C8@mx1.tiki.ne.jp>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!news.ks-and-ks.ne.jp!omega.ks-and-ks.ne.jp!news.merry.xmath.ous.ac.jp!news.xmath.ous.ac.jp!ns04b!nd-osa01.ocn.ad.jp!nntp-egw.ocn.ad.jp!nd-os001.ocn.ad.jp!nntp.tiki.ne.jp!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: f7c9f,1c21b346f4143614,start
X-Google-Attributes: gidf7c9f,public
X-Google-ArrivalTime: 2001-01-17 09:10:02 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-04!supernews.com!newsfeed.mesh.ad.jp!newsfeed.media.kyoto-u.ac.jp!news.ks-and-ks.ne.jp!omega.ks-and-ks.ne.jp!news.merry.xmath.ous.ac.jp!news.xmath.ous.ac.jp!ns04b!nd-osa01.ocn.ad.jp!nntp-egw.ocn.ad.jp!nd-os001.ocn.ad.jp!nntp.tiki.ne.jp!not-for-mail
From: hiruneusagi <hiruneusagi@mx1.tiki.ne.jp>
Newsgroups: fj.editor.vi
Subject: / を含む文字列への置換
Date: Thu, 18 Jan 2001 01:38:20 +0900
Organization: TikiTiki Internet Service
Lines: 9
Message-ID: <3A65CA7C.143961C8@mx1.tiki.ne.jp>
NNTP-Posting-Host: d30188-006.tiki.ne.jp
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.75 [ja] (X11; U; Linux 2.2.13-33 i686)
X-Accept-Language: ja, en