comparison s4-funcs.sh @ 726:01be32e89ccd

[Debug] Inspect original stream of empty file.
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 31 May 2020 19:06:46 +0900
parents 541f39bcaba4
children b73e2399994c 2c0c25fc9f68
comparison
equal deleted inserted replaced
725:541f39bcaba4 726:01be32e89ccd
1456 fi 1456 fi
1457 ;; 1457 ;;
1458 [Ii]mage/*) 1458 [Ii]mage/*)
1459 mogrify -quality 75 -resize $maximagexy'>' "$tmpd/$v" 1459 mogrify -quality 75 -resize $maximagexy'>' "$tmpd/$v"
1460 err "Mogrified: `ls -lF $tmpd/$v`" # 2020-05-31 1460 err "Mogrified: `ls -lF $tmpd/$v`" # 2020-05-31
1461 ;;
1462 [Aa]pplication/*-empty)
1463 err "Stream-Empty found: [$v]"; cp "$tmpf" tmp/
1461 ;; 1464 ;;
1462 esac 1465 esac
1463 if ! echo "$mimetype" | egrep "$file_accept_egrep" >/dev/null 2>&1 1466 if ! echo "$mimetype" | egrep "$file_accept_egrep" >/dev/null 2>&1
1464 then 1467 then
1465 replpar text string " *添付できない形式です($v)* $file_warn" 1468 replpar text string " *添付できない形式です($v)* $file_warn"

yatex.org