perl -pi -e 'BEGIN{$x = "*" x 80} s/^-{40}^M*$/$x/' logfile
In reply to Re: Is it possible to use repetition within a Regular Expression Substitution?
by Anonymous Monk
in thread Is it possible to use repetition within a Regular Expression Substitution?
by greatwazzoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |