Help for this page

Select Code to Download


  1. or download this
    cat file1 | perl -e 'while(<>){ next if !/IMO/; print $_;}'
    
  2. or download this
    cat file1 | perl -e 'while(<>){ next if !/\bIMO/; print $_;}'
    
  3. or download this
    cat file1 | perl -e 'while(<>){ next if !/\bIMO/i; print $_;}'
    
  4. or download this
    vi file2
    apple
    ...
    banana
    
    grep -f file2 file1