|
|
| P is for Practical | |
| PerlMonks |
Re: using sed buffersby Anonymous Monk |
| on May 03, 2012 at 05:12 UTC ( [id://968632]=note: print w/replies, xml ) | Need Help?? |
|
s2p helps you migrate from sed to perl $ s2p "s!.*pts/\([0-9][0-9]*\).*!\1!" produces
${1} is $1 is \1
\(\) is ()
[0-9] is \d
* is *
. is .
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||