perl -i.bak -ne"print if $f ||= /1\.0/" file