Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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 .


Comment on Re: Sorting according to date
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.

    -sauoq
    "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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://264390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-07-26 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (177 votes), past polls