Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Sorting according to date

by OM_Zen (Scribe)
on Jun 09, 2003 at 17:13 UTC ( [id://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.

    -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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://264390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-19 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found