SyntaxFix
Write A Post
Hire A Developer
Questions
Use python-textops package :
from textops import * 'oldfile.txt' | cat() | grepv('bad') | tofile('newfile.txt')