in reply to multiple files to multiple files
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*$/); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: multiple files to multiple files
by Laurent_R (Canon) on Oct 18, 2015 at 09:28 UTC | |
by afoken (Chancellor) on Oct 18, 2015 at 09:41 UTC | |
by Laurent_R (Canon) on Oct 18, 2015 at 09:49 UTC |