我想从文件中删除重复的行,但在文件中留下 1 次。
文件示例:
this is a string test line test line 2 this is a string
从上面的例子中,我想删除 1 个“这是一个字符串”。
最好的方法来做到这一点?
linux text-processing
linux ×1
text-processing ×1