Merge branch 'main' of git.owlcode.tech:sergiotarxz/Rsaves

This commit is contained in:
Sergiotarxz 2023-11-01 13:25:36 +01:00
commit f5e00d008e

13
examples/fix_save.pl Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env perl
use v5.36.0;
use strict;
use warnings;
my $input_file = $ARGV[0] or die 'No input save';
open my $fh, '<', $input_file;
read $fh, my $raw_save, 128*1024;
close $fh;
open $fh, '>', $input_file;
print $fh $raw_save;
close $fh;