Help for this page

Select Code to Download


  1. or download this
    cat big-file.txt | grep -v 'bad line' > new-file.txt
    
  2. or download this
    perl -i.orig -pe '$_="" if /bad line/' big-file.txt