【发布时间】:2017-11-06 13:32:18
【问题描述】:
Vi 编辑器
输入文件文本格式:
'': hello.Code1
'': hello.Code2
'': hello.Code3
所需的输出文本格式:
'Code1': hello.Code1
'Code2': hello.Code2
'Code3': hello.Code3
想法是我必须复制“。”之后的所有值。到单引号''。我可以使用基于 Linux 的 Vi 或 SED 等。或基于 MAC。 我在文本文件中有超过 2000 行 谢谢
【问题讨论】:
标签: string text replace line vi