Re: Scripts problems - IM and Cygwin
Posted: 2011-02-17T11:06:01-07:00
when you used
if [ "06060705" -ge "06040805" ] && echo "true"; then
Did you get the usual error message? If not, try
if [ "06060705" -ge "06040805" ]; then
That is hard code your IM version in each of the conditionals.
Then put in echo statements before the if statement to be sure the arguments you supply are getting used.
echo "spread=$spread, density=$density, curviness=$curviness; seed=$seed; im_version=$im_version"
also write the tmp0 as output so that you can see if it is an approapriate noise image
-write $tmp0 tmp0.png
El_Supremo: can you try my disperse script on your system?
if [ "06060705" -ge "06040805" ] && echo "true"; then
Did you get the usual error message? If not, try
if [ "06060705" -ge "06040805" ]; then
That is hard code your IM version in each of the conditionals.
Then put in echo statements before the if statement to be sure the arguments you supply are getting used.
echo "spread=$spread, density=$density, curviness=$curviness; seed=$seed; im_version=$im_version"
also write the tmp0 as output so that you can see if it is an approapriate noise image
-write $tmp0 tmp0.png
El_Supremo: can you try my disperse script on your system?