Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
BioErrorLog Tech Blog
(Uncensored)
subscribe
コマンドで重複行を排除して一度だけ表示する
https://www.bioerrorlog.work/entry/unique-lines-in-shell
links
backlinks
Tagged with:
linux
shell
awkで簡単にできます: awk '!seen[$0]++' はじめに コマンドで重複行を排除して一度だけ表示する コマンド解説 実行例 おわりに 参考 はじめに コマンドで重複行を排除して一度だけ表示する方法の備忘録を残します。 The English translation of this post is here. コマンドで重複行を排除して一度だけ表示する 下記コマンドで、重複行を排除して一度だけ表示可能です: awk '!seen[$0]++' コ...