google search

L

LS

Please can anyone tell me how do I could make search script to find my
chat.txt and print by date and time?
the txt file look like

date time user comment
2007.07.07 |12:00 pm | johan | the txt bla blabla

thanks
 
U

usenet

Please can anyone tell me how do I could make search script to find my
chat.txt and print by date and time?

Please choose a subject line that is descriptive of your question.
Your question has nothing to do with Google.

You may use the File::Find module to find the file itself:
perldoc File::Find

You may use the stat function to extract info about the file's inode
(date/time, user):
perldoc -f stat

You may use the print() function to print the information:
perldoc -f print

You may wish to format your output. You may do that a number of ways,
including:
perldoc -f format
perldoc -f printf


I have no idea what you mean by "comment". A file's inode does not
store a comment. Where do you expect to obtain the comment from?

Please read the posting guidelines for this newsgroup:
http://www.rehabitation.com/clpmisc/clpmisc_guidelines.html
 
J

Josef Moellers

Please choose a subject line that is descriptive of your question.
Your question has nothing to do with Google.

Most likely LS (poor sod, I'd sue my parents ;-) was referring to
"Google Desktop Search".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,294
Messages
2,571,511
Members
48,212
Latest member
SteveMagga

Latest Threads

Top