Timeline for Grep can't use -B with -v
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 16, 2017 at 14:40 | comment | added | Philip Kirkbride | @don_crissti closed | |
| Nov 16, 2017 at 14:34 | comment | added | Philip Kirkbride | @don_crissti I simply want to return the opposite of grep commands using -A -B or -C flags. Whatever text a grep -B $n produces I want all lines that weren't shown instead of those that were. Does that make sense? | |
| Nov 16, 2017 at 14:32 | history | edited | Philip Kirkbride | CC BY-SA 3.0 | added 253 characters in body |
| Nov 16, 2017 at 14:29 | comment | added | muru | @don_crissti looks like OP wants -A1, but without the line that matched. | |
| Nov 16, 2017 at 14:24 | history | edited | Philip Kirkbride | CC BY-SA 3.0 | added 125 characters in body |
| Nov 16, 2017 at 14:23 | history | answered | Philip Kirkbride | CC BY-SA 3.0 |