Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Sorting according to date

by OM_Zen (Scribe)
on Jun 09, 2003 at 17:13 UTC ( #264390=note: print w/replies, xml ) Need Help??

in reply to Sorting according to date

Hi ,

Just try to do ls -t directory/sub_directory/*.html , so that the output is itself date sorted .

Replies are listed 'Best First'.
Re: Re: Sorting according to date
by sauoq (Abbot) on Jun 09, 2003 at 17:27 UTC

    You didn't read the question. The dates he wants to sort by are in the documents. He doesn't want to sort by the last modified time associated with the file.

    "My two cents aren't worth a dime.";
      Hi Sauoq ,

      The part of his posting has the array of the ls being sorted and there is not anywhere else that he sorts the title .That made me to write a sorted list by the dates initially itself.But when I am reading , I could see that he has the issue date obtained from the header . I am just curious where he sorts the title obtained from the document header.Please let me know where my understanding has gotten blurred.I am sure my answer is not the apt one either. But I am just trying to find where the present implementation is justified (the sorting by the title obtained from the header of the HTML data )

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://264390]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-06-18 14:19 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (110 votes). Check out past polls.