hans

hans

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


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

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

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.