You probably wants to chomp on $line before doing reggae match /^\s*$/;if($begin_flag==1 && $end_flag==0 && $begin_count++ >0) { print $file2 $line if($line !~ /^\s*$/); }
In reply to Re: multiple files to multiple files
by bagyi
in thread multiple files to multiple files
by ikhan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |