You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 2Welcome to Unix & Linux. The OP has a list of approximately 30 strings that he wants to ignore, and the four that he presented as examples have an average length of ten characters each, so your command is likely to be over 300 characters long. This is likely to be hard to maintain (and even to read). Can you modify your answer to be driven by the OP’s list of strings? … … … … … … … … … … … … … … … … … … … … P.S. Did you notice that the answer has been found? — The OP has learned how to get his original approach to work.G-Man Says 'Reinstate Monica'– G-Man Says 'Reinstate Monica'2015-10-30 11:33:28 +00:00Commented Oct 30, 2015 at 11:33
- 2Why negatively evaluate my response? : /Orsius– Orsius2015-10-31 10:17:54 +00:00Commented Oct 31, 2015 at 10:17
- 3Great answer. Has regex OR and the -vE option was helpful.Kirt Carson– Kirt Carson2017-03-31 18:46:19 +00:00Commented Mar 31, 2017 at 18:46
- 4This is the answer to the question most people are probably trying to resolve.dsm– dsm2018-06-15 07:57:00 +00:00Commented Jun 15, 2018 at 7:57
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. shell-script), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you