根据某些搜索条件替换文件中的字符串是一项非常常见的任务。我怎样才能
foo
bar
sed awk perl text-processing
awk ×1
perl ×1
sed ×1
text-processing ×1