"be consistent" | |
PerlMonks |
Re: $` $' in bash??by ikegami (Patriarch) |
on Jul 20, 2011 at 18:01 UTC ( [id://915697]=note: print w/replies, xml ) | Need Help?? |
There's no issue with «`» (within single quotes). The problem is with «'». Ways of making «foo$'bar$`baz» into a bash literal:
Of course, you could use avoid using «'», starting by writing code that's much clearer.
The pattern looks very fishy. /.*\b.*/? There are clearer and safer ways of writing that. I have no idea what you are trying to match with that.
In Section
Seekers of Perl Wisdom
|
|