How to use condition in sed command?

后端 未结 0 803
独厮守ぢ
独厮守ぢ 2020-12-05 12:06

I want to add "Done" if the first word of the line contains "one".

Example:

cat output.txt 
one
two
three
one

I wa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题