🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.vi
Article #339

編集中のテキストを渡すには

#339
From: Tanaka-Qtaro-Yasuhiro
Date: Sun, 10 Oct 1999 00:00
20 lines
915 bytes
田中久太郎@三鷹市です。

viエディタで exモードの時に ! でコマンドを実行することが
できますよね。

:r !pwd
/home/tanaq/hoge/

このコマンドの標準入力としてバッファの内容を渡したりするこ
とはできますでしょうか?

やはり、一旦ファイルに保存して、

:r !command < hoge.txt

とするしかないのでしょうか。

-- 
// http://www02.so-net.ne.jp/~tanaq/
// ↑お天気ブラウザあります。(Mac用)
Technical Details
Message-ID: <tanaq-1010990121490001@nikkel.tanaq.lo.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: f7c9f,bd922d7d11491e26
X-Google-Attributes: gidf7c9f,public
From: tanaq@ca2.so-net.ne.jp (Tanaka-Qtaro-Yasuhiro)
Subject: 編集中のテキストを渡すには
Date: 1999/10/10
Message-ID: <tanaq-1010990121490001@nikkel.tanaq.lo.jp>
X-Deja-AN: 534735884
Organization: So-net
Content-Type: text/plain; charset=iso-2022-jp
Mime-Version: 1.0
Newsgroups: fj.editor.vi