Re: Sorting by date

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



On Mon, Feb 28, 2011 at 3:35 PM, erikmccaskey64 <erikmccaskey64@xxxxxxxx> wrote:
>
> Original:
> Jan 23 2011 10:42 SOMETHING 2007.12.20.avi
[snip]
> Feb 12 2010 SOMETHING 2010.02.11.avi
> Jun 26 2009 SOMETHING 2009.06.25.avi
> How could I get the output where the newest file is at the top?

If this is a text file, you can seed an array with the month names as
the index then sort using that index...
_______________________________________________
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