in reply to Best way to compare range of characters in two text files
sub compare50 { my ($file1, $file2) = @_; local $/ = \50; return do {local @ARGV = $file1; <> } eq do {local @ARGV = $file2; < +> }; }
untested...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best way to compare range of characters in two text files
by LanX (Saint) on Jul 12, 2018 at 16:55 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |