How to grep and execute a command (for every match)

前端 未结 6 1964
慢半拍i
慢半拍i 2020-12-14 00:18

How to grep in one file and execute for every match a command?

File:

foo
bar
42
foo
bar

I want to execute to execute for example

6条回答
提交回复
热议问题