Michael's Blog
沒有主題的BLOG,看到什麼就寫什麼~~ 只要我喜歡有什麼不可以!
2008年10月18日
從文字檔中去除重覆資料
環境:Linux -->bash指令:sort test.txt -u > test1.txt
原始資料:test.txt
Jack
Andrew
David
David
Bill
Jack
David
-----------------------------------------
輸出結果:test1.txt
Andrew
Bill
David
Jack
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)