in reply to File editing
#!/usr/bin/perl -w use strict; my $found = 0; while (<>) { if ($found or /RE(.*?)/) { $found = 1; print; } } [download]
[ar0n@zendo perl]$ perl re.pl < INPUT > OUTPUT [download]