hans

hans

【Shell】删除文档中重复内容


cat old.txt | sort | uniq > new.txt

先排序,在删除相邻重复内容,并存到新文档中。

Loading Comment
Loading...
Loading...