#!/bin/bash # https://docs.sheetjs.com/docs/demos/engines/perl cd /tmp rm -rf sheetjs-perl mkdir sheetjs-perl cd sheetjs-perl curl -LO https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.extendscript.js curl -LO https://docs.sheetjs.com/perl/SheetJE.pl curl -LO https://docs.sheetjs.com/cd.xls perl SheetJE.pl cd.xls || cat <<EOF If the script failed with an error about JE or Slurp, install dependencies: $ cpan install JE File::Slurp This command may need to be run as root: $ sudo cpan install JE File::Slurp EOF