| Newsgroups |
gmane.editors.sed.user |
| Message-ID |
<[email protected]> |
Tim Chase wrote:
> Just FYI, "random" has a technical meaning to most geeks, so I'd
> suggest the word "arbitrary".
Ok, I try to remember that.
> You don't mention what you want to do with the matches. You could do
> something like
Sorry, I forgot to mention, that I asked here, because here are RegEx
specialists. The RegEx is for another program.
> which would first filter for lines containing "color" and then, if
> "red\|blue" is found on the same line, print it.
Thank you very much, maybe you could help anyway with a not-sed-solution.
-davidoff12001