git.ucc.asn.au
/
dja
/
scandal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13a56d0
)
Improve comments.
author
Daniel Axtens
<dja@ucc.asn.au>
Fri, 8 Apr 2011 07:35:18 +0000
(15:35 +0800)
committer
Daniel Axtens
<dja@ucc.asn.au>
Fri, 8 Apr 2011 07:35:18 +0000
(15:35 +0800)
scan2pages.sh
patch
|
blob
|
history
diff --git
a/scan2pages.sh
b/scan2pages.sh
index
b129963
..
5cacfe6
100755
(executable)
--- a/
scan2pages.sh
+++ b/
scan2pages.sh
@@
-162,8
+162,6
@@
for pg in `$my_seq 1 $pages`; do
# check it hasn't mostly disappeared - e.g. if the scan was all black
# (e.g. forgot to put the book down when you first hit scan)
- # ... not sure why such a convoluted form is required. expr doesn't like
- # processing a convert -format "%w * %h" or any variant thereof
if [[ $(convert $preppnm -format '%[fx:s.w*s.h>1000]' info:) = "0" ]]; then
[[ $verbose == 1 ]] && echo "Discarding pg ${pgn}: not enough remains after masking."
continue;
UCC
git Repository :: git.ucc.asn.au