diff options
author | Dominik Stadler <centic@apache.org> | 2016-12-11 21:15:06 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-12-11 21:15:06 +0000 |
commit | 05011c32a0970903f06aaba69db17995d8c364d9 (patch) | |
tree | c5c66198d796c0fac5a90ac3fbf29615ba8ec334 /view.sh | |
parent | c87f529402e60d4ee2491890a30a2859ed74b60e (diff) | |
download | poi-05011c32a0970903f06aaba69db17995d8c364d9.tar.gz poi-05011c32a0970903f06aaba69db17995d8c364d9.zip |
Revert "Enhance view.sh for HWPF/doc files"
This reverts commit 05ff0b5a3317d10d10df516aeb2e7a1349b871c0.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773682 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'view.sh')
-rwxr-xr-x | view.sh | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -1,7 +1,7 @@ -#!/bin/bash +#!/bin/sh # find jar-file with highest version number -for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-examples" | grep -v -- "-excelant" | grep -v -- "-ooxml" | grep -v -- "-javadoc"`;do +for i in `ls build/dist/poi-*.jar | grep -v -- "-sources" | grep -v -- "-examples" | grep -v -- "-excelant" | grep -v -- "-ooxml" | grep -v -- "-scratchpad" | grep -v -- "-javadoc"`;do CP=$i:$CP done @@ -13,11 +13,4 @@ fi echo Using jar $CP -file=$1 -echo Found extension ${file: -4} -if [ ${file: -4} == ".doc" ] -then - java -cp $CP org.apache.poi.hwpf.dev.HWPFLister "$@" --pictures --escher -else - java -cp $CP org.apache.poi.hssf.dev.BiffViewer --escher "$@" -fi +java -cp $CP org.apache.poi.hssf.dev.BiffViewer --escher "$@" |