Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl regex and word boundaries

by 7stud (Deacon)
on Feb 14, 2013 at 00:46 UTC ( #1018665=note: print w/ replies, xml ) Need Help??


in reply to Perl regex and word boundaries

So interesting problem I've run into. I have a script for pulling hostnames in a two-node cluster. I ghettoed a bit using a bash egrep expression to determine hostnames have been added to /etc/hosts on both nodes. So I may have an /etc/hosts...

Thanks for the irrelevant back story. All you need to post is: "I have this text ..., and I want to match these lines .... This is what I tried ... How make worky?


Comment on Re: Perl regex and word boundaries

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2015-07-04 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls