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

Re: Select data between a START and END pattern

by tos (Deacon)
on May 02, 2003 at 16:55 UTC ( [id://255077]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # cat indat
    192.168.1.1 index.html index 5 seconds
    192.168.1.1 links.html links, index.html index 10 seconds
    192.168.1.1 article1.html  art1, article2.html art2, adpage 200 second
    +s
    
  2. or download this
    # perl -wne '/[\d\.]+\s(.+)\sseconds/i && print "Test Data: $1\n"' ind
    +at
    Test Data: index.html index 5
    Test Data: links.html links, index.html index 10
    Test Data: article1.html  art1, article2.html art2, adpage 200
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-19 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found