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?
In reply to Re: Perl regex and word boundaries
by 7stud
in thread Perl regex and word boundaries
by MeatLips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |