This is anytoimg.sh in view mode; [Download] [Up]
#!/bin/sh # # This script is part of rtfdtohtml. # Copyright (c) 1996 Elmar Ludwig - Universitaet Osnabrueck # # Convert all files to gif/png (if possible). cd "${1:-.}" || exit 1 unset EPS for name in .* * do case "$name" in .|..) ;; TXT.rtf) ;; index.html) ;; *.eps|*.ai) EPS=1 epsto$IMG_TYPE.sh "$name" >"$name.$IMG_TYPE" ;; *.tiff) tiffto$IMG_TYPE.sh "$name" >"$name.$IMG_TYPE" ;; *.gif) ;; *.png) ;; *.jpeg) ;; *.jpg) ;; *.xbm) ;; *.xpm) ;; *.app) ;; *.html) ;; *) [ -f "$name.tiff" ] || ln -fs .!unknown.$IMG_TYPE "$name.tiff.$IMG_TYPE" echo "`basename "$0" .sh`: Warning: Cannot convert \`$name'" >&2 esac done exit 0
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.