This is what I was looking for, basically. Your original script still failed to clear the inbetween lines, but when I added one more \r before the alternation operator it worked to prefection:
^.*constant=(\w+@\w+\.\w+).*\r|^.*\r
returned:
barney@gmail.comwilma@aol.com
Perfecto! Thanks eye.
In reply to Re^2: grep question using multiple lines
by bradcathey
in thread grep question using multiple lines
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |