システム・プログラム関連のメモや最新技術についてのメモを掲載

vi で文字列を置換する

○置換するか否かを確認しない
:%s/置換前/置換後/g

○置換するか否かを確認する(c を付ける)
:%s/置換前/置換後/gc


You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.