Sorting by date

Larry Vaden vaden at texoma.net
Mon Feb 28 20:41:52 UTC 2011


On Mon, Feb 28, 2011 at 2:37 PM, Larry Vaden <vaden at texoma.net> wrote:
> On Mon, Feb 28, 2011 at 2:35 PM, erikmccaskey64 <erikmccaskey64 at zoho.com> wrote:
>> How could I get the output where the newest file is at the top?
>
> One solution would be to awk it until the date is in the format
> Europeans prefer, namely YYYY MM DD.

That said, are you really looking for the package with the latest
E-V-R;  if so, you'll need to borrow Python code from yum or perhaps a
Python guru on this list.

Johnny at CentOS (IMHO) recently posed this question as a way of
filtering out wanna be helpers.

regards/vaden at texoma.net


More information about the users mailing list