how can i copy a full line to another file, while inside a loop?

后端 未结 0 690
闹比i
闹比i 2020-11-30 11:05

I want to read a file, and if a line respects some conditions i want to copy all of it to another file

was using sed ":$line:d" file >> newfile

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