|
Blue Forest http://www.lslnet.com at 11:18 on June 26, 2006
[] On the regular expression.
$cat TestA
Edasae
AlicaChebba 973-555-2015
Ed
BarbaraSwingle 201-555-9257
Dfadfefe dsa
$cat TestA |sed 's/e*/+++/g'
+++d+++a+++s+++a+++ Showed :
+++A+++l+++i+++c+++a+++C+++h+++b+++b+++a+++ +++9+++7+++3+++-+++5+++5+++5+++-+++2+++0+++1+++5+++ + + + + + + + + +
+++d+++
+++B+++a+++r+++b+++a+++r+++a+++S+++w+++i+++n+++g+++l+++ +++2+++0+++1+++-+++5+++5+++5+++-+++9+++2+++5+++7+++
+++d+++f+++a+++d+++f+++f+++ +++d+++s+++a+++ + + + + + +
$cat TA |sed 's/[e*]/+++/g'
+++dasa+++
AlicaCh+++bba 973-555-2015
+++d
BarbaraSwingl+++ 201-555-9257
Dfadf+++f+++ dsa
[] Will arise only with the desired results, I know that it is the matching string [] group have not [] what is the meaning of the results, see instructions! |
Find some introductory look at the bars on the regular expression, free to novice navigation |
With the Q! Puzzled. |
Which explained the mastermind of hope! |
| |