First page Back Continue Last page Summary Graphics
echo header material to the file
echo header material to the file
do a loop, processing files supplied on the command line
use "convert" only if they're not already a jpg
Using Bash's cross between regex and globbing:
means match the minimum at the end of $pic that matches ".*" and remove it
Notes: