Re: Need help in writing a shell/bash script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks supergiantpotato and Edo. Scripts worked for me.

Thanks a lot :)


On Sat, Dec 31, 2011 at 12:45 AM,  <m.roth@xxxxxxxxx> wrote:
> John R Pierce wrote:
>> On 12/30/11 9:58 AM, Les Mikesell wrote:
>>> Here's a perl approach:
>>
>> which, unlike all the other versions, doesn't require the data be
>> pre-sorted, by virtue of adding all the tuples to a hash.   I don't even
>> think that sort in the output loop is required, unless you want the
>> groups output in alphabetic order.
>
> IIRC, the awk will come out in order, given the hash.
>
>       mark
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux