Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Limits on file numbers in sort -m
- Date: Thu, 29 May 2014 11:41:00 +0200
- From: Bruno Raoult <braoult@example.com>
- Subject: Re: [tlug] Limits on file numbers in sort -m
- References: <CABHGxq7jYkDDLkF8uzzNK8WeU+37t1wgpVhk6VD2HQKyEi7wBw@mail.gmail.com> <CAJMSLH618MfmhL9ufAOfLXxw52i4STpF8dsc_+xe-2GRB3JM8g@mail.gmail.com> <87bnui8sky.fsf@uwakimon.sk.tsukuba.ac.jp> <CABHGxq4NEBMVR8jndiEvcgsGkc_B0f-qcrs2sFjqaAdWH3n9sw@mail.gmail.com> <CAJMSLH6SdSUmvHsjmZBZP-g1graNuPV51vdwLzpPf7ipmz7+zA@mail.gmail.com> <CAKXLc7dKkLLBFkJ7kz4Smp2Bq-Qv_hZd87HkDht=V+V6-wLrKw@mail.gmail.com>
On Thu, May 29, 2014 at 7:45 AM, Kalin KOZHUHAROV <me.kalin@example.com> wrote:br.
+1!
On May 28, 2014 3:05 PM, "黒鉄章" <akira.kurogane@example.com> wrote:
> Regarding the count of occurrences you could pipe the "sort -m ...." into "uniq -c". I've always been annoyed by the format of uniq (a space-padded, fixed-width count as the first column)
>
It is on my todo list to fix that and submit a patch upstream to add CSV output as well as default sort by COUNT DESC ...
I am not sure that this is a good idea to implement "sort" in uniq, as a "| sort -rn" will do the job, and sort is really good at...hum sorting.
Also, you can build a csv output quite easily (you will find many examples with sed).
I believe commands should remain simple.
--
2 + 2 = 5, for very large values of 2.
- References:
- [tlug] Limits on file numbers in sort -m
- From: Jim Breen
- Re: [tlug] Limits on file numbers in sort -m
- From: 黒鉄章
- Re: [tlug] Limits on file numbers in sort -m
- From: Stephen J. Turnbull
- Re: [tlug] Limits on file numbers in sort -m
- From: Jim Breen
- Re: [tlug] Limits on file numbers in sort -m
- From: 黒鉄章
- Re: [tlug] Limits on file numbers in sort -m
- From: Kalin KOZHUHAROV
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Limits on file numbers in sort -m
- Next by Date: Re: [tlug] Limits on file numbers in sort -m
- Previous by thread: Re: [tlug] Limits on file numbers in sort -m
- Next by thread: Re: [tlug] Limits on file numbers in sort -m
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links