print $wfh $_ if /\bterminal length\b/i .. /^\n*$/;