diff options
Diffstat (limited to 're')
-rwxr-xr-x | re | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -100,10 +100,10 @@ while (<$fh>) { if ($bytes == $ref_bytes) { shift @references; my $file = $files{$bytes}; - my $end = shift @{$file_locations{$file}}; + my $end = shift @{$file_locations{$file}} || ''; my $loc = $locations{$bytes}; - print "\n$file:$loc-$end\n"; + print ".Sr $file $loc-$end\n"; seek $handles{$file}, $loc, 0; local $_; @@ -113,6 +113,9 @@ while (<$fh>) { last if $end and $bytes > $end; print; } + + print ".Se\n"; + next; } normal: |