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

Re: Looping two files differently

by Random_Walk (Prior)
on Jan 02, 2014 at 15:38 UTC ( [id://1068976]=note: print w/replies, xml ) Need Help??


in reply to Looping two files differently

Do you have some example data of the files you are working with? Are you looking for exact matches, or will you want to be able to specify regex type patterns to match? Will the entire line match, or do you just need to find the target anywhere in the line?

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!

Replies are listed 'Best First'.
Re^2: Looping two files differently
by noob_mas (Novice) on Jan 03, 2014 at 00:51 UTC

    HI Random_Walk, yes you are right about the exact matches, i am just looking for a word that matched in a line of files.

    Example of the element that i am looking for in a file

    hlkout

    Example of the line that matched the element

    .hlkout(hi_lkout[15:0])

    from the line that matched my regex, i would further do some processing on it, to get something else like for this example i will be using the hi_lkout for another purpose which i dont describe here...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-19 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found