Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: matchin a pattern 250 characters up and down stream

by Anonymous Monk
on Jun 28, 2012 at 05:15 UTC ( #978836=note: print w/ replies, xml ) Need Help??


in reply to Re: matchin a pattern 250 characters up and down stream
in thread matchin a pattern 250 characters up and down stream

FILE1
0 XYZ 5
1 TTY 15
0 MNU 10
FILE2
ABCDEFGHIJKLMNABCRSTUVWXYZ.....
it shud read the file 1 get the position (3rd column) open another file (file2). from postion 5 it should go say 10 positions ahead if 0 appears in file 1(column1) and check whether $ABC is found. the same if 1 appears but it has to go 10 characters before the from position 5 in this example
if match if found like this it should print Y other wise N


Comment on Re^2: matchin a pattern 250 characters up and down stream

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-08-30 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls