App-DiffXlsText
view release on metacpan or search on metacpan
script/diff-xls-text view on Meta::CPAN
=head1 NAME
diff-xls-text - Diff the text of two Office spreadsheets (.ods, .xls, .xlsx) as two directories of CSV files
=head1 VERSION
This document describes version 0.012 of diff-xls-text (from Perl distribution App-DiffXlsText), released on 2022-11-26.
=head1 SYNOPSIS
Use like you would use the Unix command B<diff>:
% diff-xls-text [options] <FILE>...
Sample F<old.xlsx> (C<*foo*> marks bolded text):
# sheet 1: en_id
| english | indonesian |
|-----------+----------------|
| boy | anak laki-laki |
| girl | anak wanita |
script/diff-xls-text view on Meta::CPAN
diff -ruN /tmp/IZxMSeSyr_/old.xlsx/workbook-id_en.csv /tmp/IZxMSeSyr_/new.xlsx/workbook-id_en.csv
--- /tmp/IZxMSeSyr_/old.xlsx/workbook-id_en.csv 2022-11-26 07:43:56.293111001 +0700
+++ /tmp/IZxMSeSyr_/new.xlsx/workbook-id_en.csv 1970-01-01 07:00:00.000000000 +0700
@@ -1,3 +0,0 @@
-indonesian,english
-pemuda,"young man"
-pemudi,"young woman"
=head1 DESCRIPTION
This is a wrapper for the Unix command B<diff>. It assumes that each input file
is an Office spreadsheet (.ods, .xls, or .xlsx) and tries to convert the file to
a directory of CSV files (where each CSV file is converted from a single
worksheet) using L<xlsx2csv>. It then passes the converted directories to C<<
diff -ruN >> command. Thus, formatting differences will not be diff'ed.
=head1 OPTIONS
These are options that are interpreted by B<diff-xls-text> and not passed to
B<diff>.
script/diff-xls-text view on Meta::CPAN
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/App-DiffXlsText>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-App-DiffXlsText>.
=head1 SEE ALSO
Unix command L<diff>.
L<ssdiff> from L<Spreadsheet::Read> which also diffs two spreadsheets but
presents the result differently.
L<xlsx2csv> from L<Spreadsheet::Read>
=head1 AUTHOR
perlancar <perlancar@cpan.org>
script/diff-xls-text-between-conflicted-git-versions view on Meta::CPAN
Please visit the project's homepage at L<https://metacpan.org/release/App-DiffXlsText>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-App-DiffXlsText>.
=head1 SEE ALSO
L<diff-xls-text>
Unix command L<diff>.
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull requests on
GitHub.
( run in 2.688 seconds using v1.01-cache-2.11-cpan-64ef6c95b5d )