- or download this
perl -ne "print unless /^#/" infile > outfile
- or download this
use strict;
use warnings;
...
print $fh_out $_;
}
}
- or download this
use strict;
use warnings;
...
or die("Unable to create output file \"$file_out\": $!\n");
print $fh_out (grep !/^#/, <$fh_in>);