In POSIX grep, -v
is a matching control option to invert match.
In this usage case, it is telling grep to match all lines that do NOT contain the string “:0”
For more information, man grep
More Related Contents:
- How can I manipulate text in bash? [closed]
- How can I pipe stderr, and not stdout?
- How to merge every two lines into one from the command line?
- Fast way of finding lines in one file that are not in another?
- Capturing Groups From a Grep RegEx
- How to get the part of a file after the first line that matches a regular expression
- Is there an easy way to pass a “raw” string to grep?
- How to process each output line in a loop?
- Checking if output of a command contains a certain string in a shell script
- Colorized grep — viewing the entire file with highlighted matches
- How to check if a file contains a specific string using Bash
- Piping tail output though grep twice
- Check if all of multiple strings or regexes exist in a file
- Grepping a huge file (80GB) any way to speed it up?
- Fastest possible grep
- Waiting for background processes to finish before exiting script
- How to give a pattern for new line in grep?
- Prevent grep returning an error when input doesn’t match
- Grep output with multiple Colors?
- Using grep to search for hex strings in a file
- How to strip out all of the links of an HTML file in Bash or grep or batch and store them in a text file
- How to delete rows from a csv file based on a list values from another file?
- How to grep for case insensitive string in a file?
- Extract filename and extension in Bash
- How do I prompt a user for confirmation in bash script? [duplicate]
- How to list variables declared in script in bash?
- read in bash on whitespace-delimited file without empty fields collapsing
- Relative paths based on file location instead of current working directory [duplicate]
- Is the behavior behind the Shellshock vulnerability in Bash documented or at all intentional?
- Counting lines or enumerating line numbers so I can loop over them – why is this an anti-pattern?