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)
沒有留言:
張貼留言