perl -nle "print bar($_) unless foo($_)" #### perl -ple "next if foo($_); $_=bar($_)"