LoginSignup
4
4

More than 5 years have passed since last update.

一括置換するワンライナー

Last updated at Posted at 2013-05-23

typoしてるよ!
(G|g)allar(y|ies)を(G|g)aller(y|ies)に置換する例。

find app | xargs grep -l "[gG]allar" | xargs sed -e s/gallar/galler/g -e s/Gallar/Galler/g

find力、grep力、sed力高い人はもっと上手にやるかもしれない

4
4
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
4
4