【发布时间】:2015-01-24 05:45:41
【问题描述】:
我的输出为:
A: this thing
B: that thing
A: 23
B: 46
A: negative
B: positive
我正在使用 sed/awk 创建。如何使用 sed(我认为 sed 是正确的选择?)在每个 B: 行之后添加换行符以产生:
A: this thing
B: that thing
A: 23
B: 46
A: negative
B: positive
【问题讨论】: