Skip to main content
added 1 character in body
Source Link
Romeo Ninov
  • 19.5k
  • 5
  • 35
  • 48

Depend of the source file you can try something like:

grep -v -f pat input_file 

P.S. This will remove ANY line from source file independently if it's part of full pattern or not

Depend of the source file you can try something like:

grep -v - pat input_file 

P.S. This will remove ANY line from source file independently if it's part of pattern or not

Depend of the source file you can try something like:

grep -v -f pat input_file 

P.S. This will remove ANY line from source file independently if it's part of full pattern or not

Source Link
Romeo Ninov
  • 19.5k
  • 5
  • 35
  • 48

Depend of the source file you can try something like:

grep -v - pat input_file 

P.S. This will remove ANY line from source file independently if it's part of pattern or not