Mercurial > hg > config
view bin/antixls.sh @ 156:a9c3a32d8385
add a function for loading modules from the web
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 27 Jul 2011 08:43:34 -0700 |
parents | f3ab51c79813 |
children | fc81284013bf |
line wrap: on
line source
SSCONVERT=`which ssconvert 2> /dev/null`; if [ -z "${SSCONVERT}" ]; then echo "${SSCONVERT} not found. Please install gnumeric."; return 1; fi; for i in "$@"; do OUTPUT=${i%.xls}.txt; $SSCONVERT -I Gnumeric_Excel:excel -T Gnumeric_stf:stf_csv "$i" "$OUTPUT" 2>/dev/null; cat "$OUTPUT"; done