[CentOS] Need help in writing a shell/bash script
m.roth at 5-cent.us
m.roth at 5-cent.usFri Dec 30 19:15:41 UTC 2011
- Previous message: [CentOS] Need help in writing a shell/bash script
- Next message: [CentOS] Checkinstall rpm for CentOS-6 x86_64?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [CentOS] Need help in writing a shell/bash script
- Next message: [CentOS] Checkinstall rpm for CentOS-6 x86_64?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list