Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Reading entire file.

by cLive ;-) (Prior)
on May 04, 2001 at 09:28 UTC ( [id://77909]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Reading entire file.
in thread Reading entire file.

Yes, but is the sample text output or input. If input, what do you want output? ditto vice versa...

cLive ;-)

Replies are listed 'Best First'.
Re: Re: Reading entire file.
by stuffy (Monk) on May 04, 2001 at 09:55 UTC
    The sample is the input (the file that I want to read and cut into little pieces to output what the user wants to see.) The user inputs the tool name (Tool01,) and the date that they want to go back to (which is taken care of earlier in the script.) What the script does is gets rid of everything before the inputed date and keeps everything after. Then it is supposed to find every instance of the specified tool (Tool01) and print out any coments that have been written for that tool, stopping when it gets to the next tool, going to the next instance of that tool, printing untill it reaches the next tool.......The way it is set up the output to the reader should read:

    Tool01 - ran good
    Tool01 - Broke spindle temp transducer
    waitin on replacement

    once it is at that point, it is useable. Eventually I want to optomise the output to read:

    Tool01
    Apr 23 0630 - ran good
    Apr 24 2330 - Broke spindle temp transducer
    waiting on replacement


    I hope this clears up any confusion as to what I am asking, and what I am trying to do.

    Stuffy

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77909]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.