LoginSignup
0
0

More than 1 year has passed since last update.

標準入力から文字列を流し込みつつ、geditやGVimを開く

Posted at

結論

ハイフン - をつける。

echo "吾輩はネコである。名前はまだニャーい。" | gedit - 

image.png

GVimでも動く。

image.png

VSCodeでもいけるようだ。

諸事情により、GUIのエディタばかり試したが、nanovim などのCLIのテキストエディタもこれでいけるようである。emacs はこれだとうまくいかないので何か違うみたい…。

この記事は以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0