--- lesspipe-1.60/lesspipe.sh.in~ 2008-12-01 13:33:43.000000000 +0100 +++ lesspipe-1.60/lesspipe.sh.in 2008-12-01 13:35:00.000000000 +0100 @@ -656,11 +656,7 @@ echo "==> append $sep to filename to view the PowerPoint source" ppthtml "$2" | parsehtml - #endif -#ifdef o3tohtml,unzip - elif [[ "$PARSEHTML" = yes && ("$1" = *OpenDocument\ [CHMPST]* || "$1" = *OpenOffice\.org\ 1\.x\ [CIWdgpst]*) ]]; then - echo "==> append $sep to filename to view the OpenOffice or OpenDocument source" - istemp "unzip -avp" "$2" content.xml | o3tohtml | parsehtml - -#elif unzip +#ifdef unzip elif [[ "$1" = *OpenDocument\ [CHMPST]* || "$1" = *OpenOffice\.org\ 1\.x\ [CIWdgpst]* ]]; then echo "==> append $sep to filename to view the OpenOffice or OpenDocument source" istemp sxw2txt "$2"