Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルのすべての行に 1 つずつ、非常に大きな文字列のセットがあります。多くの文字列は、ファイル内の異なる場所で複数回発生します。
awk、grep、uniq などの UNIX コマンドを使用して、文字列の頻度カウントが必要です。いくつかの組み合わせを試しましたが、うまくいきませんでした。
頻度カウントを取得するための正確なコマンドは何ですか?