perl -ne"print if $f ||= /1\.0/" infile >outfile