Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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 In reply to Re^2: matchin a pattern 250 characters up and down stream
by Anonymous Monk
|
|