LoginSignup
0
0

More than 1 year has passed since last update.

【Linux】sedコマンドで複数の条件を指定する方法

Posted at

指定方法

以下の方法で複数の条件を指定できます。

sed -e 's/sample/EXAMPLE/g' -e 's/example/SAMPLE/g'
sed -e 's/sample/EXAMPLE/g; s/example/SAMPLE/g'
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